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.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAl/TK98RHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXNxoxAAmO3ICT1DnBoKTiT4K3z9jQCZxl8Yadht
 Ny0Dsos6Xky0/f2GjwbLxS1ww0k2EabyLFzUT5L6CGqF2/dfv2rpSYz6P5vJJYkk
 dVeepBI0LPtIKQGayqEx6tzONNqCnbLHcV3p1K/+aN2mlTH+cUa8kg73sndZoAXT
 1mWr1SryTUF8opLpM7stz2gnf9xRzidnuniCTcUgLTWOcJ1rluCvmI4VQAzJ7Px8
 jxnAKaK4PaHoeBadRrsYqOlaHu1Y1jJndfLN08OfuT03E5VlMPQd+WBaBy59cdUD
 0XSUPJU7e173PIDVfAZ2YDB+egzEo0MWfZV37pKJAvwSPpNY0/b6f3/YohZocxsR
 sbQ2l+1vCifQU6Bl89XhI3rieAqmawcvIj9muraSxDTRaJvOhV3p9M2dZgMP4x/8
 a4CneyTW7vOlj0r+Vbj9rqi5XllYzrrsQLk8Nt/C9bgweYt7Mrab/pbF9xcRRCcG
 s09i/h4qjg95MnkPndLLC66ouKoJmMjyBQmyN3xegKosR0lPXxqbpC5jttjdBEtW
 kUtc4Yf04kdT/YGAgmIN5xYFrdUz+Sx7evuAQQ1IiCkPLxtFWL/JNVV+f8dds7xZ
 OVboX3eSuCg+HRi6N9tux6VAdsLapUsixFJYHbYtSm3LzuLHAJ/JKUKgvFklVZdB
 TLJwy4DHSU8=
 =cx/i
 -----END PGP SIGNATURE-----

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>
This commit is contained in:
Arnd Bergmann 2020-12-12 22:47:37 +01:00
Родитель 43ffe817bf c0bc969c17
Коммит 062fa6b8ef
3 изменённых файлов: 14 добавлений и 4 удалений

Просмотреть файл

@ -494,3 +494,11 @@
clock-names = "sysclk";
};
};
&aes1_target {
status = "disabled";
};
&aes2_target {
status = "disabled";
};

Просмотреть файл

@ -230,10 +230,12 @@ static int _omap_device_notifier_call(struct notifier_block *nb,
break;
case BUS_NOTIFY_BIND_DRIVER:
od = to_omap_device(pdev);
if (od && (od->_state == OMAP_DEVICE_STATE_ENABLED) &&
pm_runtime_status_suspended(dev)) {
if (od) {
od->_driver_status = BUS_NOTIFY_BIND_DRIVER;
pm_runtime_set_active(dev);
if (od->_state == OMAP_DEVICE_STATE_ENABLED &&
pm_runtime_status_suspended(dev)) {
pm_runtime_set_active(dev);
}
}
break;
case BUS_NOTIFY_ADD_DEVICE:

Просмотреть файл

@ -71,7 +71,7 @@ static struct omap_voltdm_pmic omap_cpcap_iva = {
.vp_vstepmin = OMAP4_VP_VSTEPMIN_VSTEPMIN,
.vp_vstepmax = OMAP4_VP_VSTEPMAX_VSTEPMAX,
.vddmin = 900000,
.vddmax = 1350000,
.vddmax = 1375000,
.vp_timeout_us = OMAP4_VP_VLIMITTO_TIMEOUT_US,
.i2c_slave_addr = 0x44,
.volt_reg_addr = 0x0,