Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v5.10/fixes-rc6-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes

Few regression fixes for omaps for v5.10

Few fixes for regression issues recently noticed by folks testing
the current kernel:

- We need to disable AES for n950 as it's not accessible because of the
secure mode configuration and kernel fails to boot

- On gta04 wlan probe exposed a bug for BUS_NOTIFY_BIND_DRIVER that has
been around for a long time

- Droid bionic exposed an issue where we configure an invalid range on
the PMIC that adds boot time warnings

Obviously these fixes can be merged whenever suitable.

* tag 'omap-for-v5.10/fixes-rc6-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: omap2: pmic-cpcap: fix maximum voltage to be consistent with defaults on xt875
ARM: OMAP2+: omap_device: fix idling of devices during probe
ARM: dts: OMAP3: disable AES on N950/N9

Link: https://lore.kernel.org/r/pull-1607674932-973902@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+14 -4
+8
arch/arm/boot/dts/omap3-n950-n9.dtsi
··· 494 494 clock-names = "sysclk"; 495 495 }; 496 496 }; 497 + 498 + &aes1_target { 499 + status = "disabled"; 500 + }; 501 + 502 + &aes2_target { 503 + status = "disabled"; 504 + };
+5 -3
arch/arm/mach-omap2/omap_device.c
··· 230 230 break; 231 231 case BUS_NOTIFY_BIND_DRIVER: 232 232 od = to_omap_device(pdev); 233 - if (od && (od->_state == OMAP_DEVICE_STATE_ENABLED) && 234 - pm_runtime_status_suspended(dev)) { 233 + if (od) { 235 234 od->_driver_status = BUS_NOTIFY_BIND_DRIVER; 236 - pm_runtime_set_active(dev); 235 + if (od->_state == OMAP_DEVICE_STATE_ENABLED && 236 + pm_runtime_status_suspended(dev)) { 237 + pm_runtime_set_active(dev); 238 + } 237 239 } 238 240 break; 239 241 case BUS_NOTIFY_ADD_DEVICE:
+1 -1
arch/arm/mach-omap2/pmic-cpcap.c
··· 71 71 .vp_vstepmin = OMAP4_VP_VSTEPMIN_VSTEPMIN, 72 72 .vp_vstepmax = OMAP4_VP_VSTEPMAX_VSTEPMAX, 73 73 .vddmin = 900000, 74 - .vddmax = 1350000, 74 + .vddmax = 1375000, 75 75 .vp_timeout_us = OMAP4_VP_VLIMITTO_TIMEOUT_US, 76 76 .i2c_slave_addr = 0x44, 77 77 .volt_reg_addr = 0x0,