Re: Promwad-ThinClient - can't boot 6.11 kernel January 01, 2025 11:47PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 02, 2025 10:47AM |
Registered: 6 weeks ago Posts: 22 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 02, 2025 12:07PM |
Registered: 6 weeks ago Posts: 22 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 02, 2025 01:41PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 02, 2025 01:45PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 02, 2025 03:16PM |
Registered: 6 weeks ago Posts: 22 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 03, 2025 09:24AM |
Registered: 6 weeks ago Posts: 22 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 03, 2025 10:38AM |
Registered: 6 weeks ago Posts: 22 |
Re: Promwad-ThinClient - can't boot 6.11 kernel January 09, 2025 10:33PM |
Admin Registered: 14 years ago Posts: 19,231 |
+static struct i2c_board_info i2c0_board_info[] __initdata = { + { + I2C_BOARD_INFO("alc5621", 0x1a), + .platform_data = &alc5621_data, + }, +};
+#ifdef CONFIG_WTPLUG_THINCLIENT +static struct alc5623_platform_data alc5621_data = { + .add_ctrl = 0x3700, + .jack_det_ctrl = 0x4980, +}; + +static struct i2c_board_info i2c0_board_info[] __initdata = { + { + I2C_BOARD_INFO("alc5621", 0x1a), + .platform_data = &alc5621_data, + }, +}; + +#else + +static struct i2c_board_info i2c1_board_info[] __initdata = { + { + I2C_BOARD_INFO("usb2514", 0x2c), + }, +}; + +#endif
+#ifndef CONFIG_WTPLUG_THINCLIENT + platform_device_register(&wtplug_leds); + /* set poweroff function */ + pm_power_off = wtplug_poweroff; + +#if defined(CONFIG_USB_251XHUB) + usb2514_hub_to_smbus(); +#endif + i2c_register_board_info(1, i2c1_board_info, + ARRAY_SIZE(i2c1_board_info)); +#endif +#ifdef CONFIG_WTPLUG_THINCLIENT + i2c_register_board_info(0, i2c0_board_info, + ARRAY_SIZE(i2c0_board_info)); + kirkwood_audio_init(); +#endif
i2c probe 0 i2c probe 1
Re: Promwad-ThinClient - can't boot 6.11 kernel January 10, 2025 12:56PM |
Registered: 6 weeks ago Posts: 22 |