forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/arm/mach-davinci/board-dm355-evm.c
....@@ -82,7 +82,7 @@
8282 .mask_chipsel = BIT(14),
8383 .parts = davinci_nand_partitions,
8484 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
85
- .ecc_mode = NAND_ECC_HW,
85
+ .engine_type = NAND_ECC_ENGINE_TYPE_ON_HOST,
8686 .bbt_options = NAND_BBT_USE_FLASH,
8787 .ecc_bits = 4,
8888 };
....@@ -117,10 +117,11 @@
117117 static struct gpiod_lookup_table i2c_recovery_gpiod_table = {
118118 .dev_id = "i2c_davinci.1",
119119 .table = {
120
- GPIO_LOOKUP("davinci_gpio.0", DM355_I2C_SDA_PIN, "sda",
120
+ GPIO_LOOKUP("davinci_gpio", DM355_I2C_SDA_PIN, "sda",
121121 GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),
122
- GPIO_LOOKUP("davinci_gpio.0", DM355_I2C_SCL_PIN, "scl",
122
+ GPIO_LOOKUP("davinci_gpio", DM355_I2C_SCL_PIN, "scl",
123123 GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),
124
+ { }
124125 },
125126 };
126127
....@@ -438,7 +439,7 @@
438439 MACHINE_START(DAVINCI_DM355_EVM, "DaVinci DM355 EVM")
439440 .atag_offset = 0x100,
440441 .map_io = dm355_evm_map_io,
441
- .init_irq = davinci_irq_init,
442
+ .init_irq = dm355_init_irq,
442443 .init_time = dm355_init_time,
443444 .init_machine = dm355_evm_init,
444445 .init_late = davinci_init_late,