Hi,
Using the above mentioned PMIC with my AM5728. Trying to configure SMPS 7 & 9 with the device tree as follows.
*****************************************************
smps7_reg: smps7 {
/* VDD_1V8 */
regulator-name = "smps7";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
smps9_reg: smps9 {
/* VDD_1V8 */
regulator-name = "smps9";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
******************************************************
The board doesn't boot up and the kernel log is as follows..
*****************************************************
Starting kernel ...
[ 2.808569] smps8: failed to apply 3300000uV constraint(-22)
[ 2.809954] palmas-pmic 48070000.i2c:tps659038@58:tps659038_pmic: failed to register 48070000.i2c:tps659038@58:tps659038_pmic regulator
[ 2.818944] palmas-pmic: probe of 48070000.i2c:tps659038@58:tps659038_pmic failed with error -22
[ 2.855463] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 2.862526] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 2.867629] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[ 2.872658] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[ 2.876335] pps_core: LinuxPPS API ver. 1 registered
[ 2.876428] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.876850] PTP clock support registered
[ 2.886529] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[ 2.891249] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[ 2.896051] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 2.900905] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 2.905632] Advanced Linux Sound Architecture Driver Initialized.
[ 2.940928] DMA-API: preallocated 4096 debug entries
[ 2.941007] DMA-API: debugging enabled by kernel config
[ 2.941432] Switched to clocksource arch_sys_counter
[ 3.065233] NET: Registered protocol family 2
[ 3.073327] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 3.075866] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 3.078301] TCP: Hash tables configured (established 8192 bind 8192)
[ 3.078654] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 3.079238] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 3.080850] NET: Registered protocol family 1
[ 3.082786] RPC: Registered named UNIX socket transport module.
[ 3.082871] RPC: Registered udp transport module.
[ 3.082955] RPC: Registered tcp transport module.
[ 3.083044] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.103476] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[ 3.103720] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 3.140026] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 3.140725] audit: initializing netlink subsys (disabled)
[ 3.140963] audit: type=2000 audit(3.049:1): initialized
[ 3.236604] VFS: Disk quotas dquot_6.6.0
[ 3.238475] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 3.264670] NFS: Registering the id_resolver key type
[ 3.264936] Key type id_resolver registered
[ 3.265026] Key type id_legacy registered
[ 3.265943] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 3.290101] NET: Registered protocol family 38
[ 3.291807] bounce: pool size: 64 pages
[ 3.291957] io scheduler noop registered
[ 3.292111] io scheduler deadline registered
[ 3.292525] io scheduler cfq registered (default)
[ 3.318132] omap_hwmod: ocp2scp3: _wait_target_disable failed
[ 3.345651] omap_hwmod: ocp2scp1: _wait_target_disable failed
[ 3.380736] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[ 3.445148] omap_hwmod: ocp2scp3: _wait_target_disable failed
[ 3.554498] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 3.554724] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 3.554889] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 3.555047] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.556281] pci 0000:00:00.0: IOMMU is currently not supported for PCI
[ 3.560916] PCI: bus0: Fast back to back transfers disabled
[ 3.563377] PCI: bus1: Fast back to back transfers enabled
[ 3.564276] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
[ 3.564803] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 3.564997] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 3.565164] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.568717] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 3.606696] omapdss_dss 58000000.dss: master bind failed: -517
[ 3.683592] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 3.724669] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
[ 3.732738] console [ttyS2] disabled
[ 3.733045] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 300, base_baud = 3000000) is a 8250
[ 4.175638] console [ttyS2] enabled
[ 4.187121] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 301, base_baud = 3000000) is a 8250
[ 4.204354] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 302, base_baud = 3000000) is a 8250
[ 4.241184] [drm] Initialized drm 1.1.0 20060810
[ 4.358929] brd: module loaded
[ 4.419971] loop: module loaded
[ 4.437869] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 4.541662] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 4.547917] davinci_mdio 48485000.mdio: no live phy, scanning all
[ 4.555799] davinci_mdio: probe of 48485000.mdio failed with error -5
[ 4.570153] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:cb:9c:58
[ 4.585748] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:cb:9c:59
[ 4.610307] mousedev: PS/2 mouse device common for all mice
[ 4.616294] i2c /dev entries driver
[ 4.651248] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 4.689417] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 4.696185] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 4.747557] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.763902] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 4.780313] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 4.793452] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 4.812150] mmc0: MAN_BKOPS_EN bit is not set
[ 4.817718] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 4.831062] mmc0: new DDR MMC card at address 0001
[ 4.843159] mmcblk0: mmc0:0001 P1XXXX 3.60 GiB
[ 4.862106] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
[ 4.871923] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
[ 4.893393] mmcblk0: p1 p2
[ 4.913511] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
[ 4.958434] oprofile: using timer interrupt.
[ 4.967007] Initializing XFRM netlink socket
[ 4.971776] NET: Registered protocol family 17
[ 4.976509] NET: Registered protocol family 15
[ 4.981802] Key type dns_resolver registered
[ 4.987911] omap_voltage_late_init: Voltage driver support not added
[ 4.997612] Power Management for TI OMAP4+ devices.
[ 5.003675] ThumbEE CPU extension supported.
[ 5.008200] Registering SWP/SWPB emulation handler
[ 5.031103] dmm 4e000000.dmm: workaround for errata i878 in use
[ 5.062509] dmm 4e000000.dmm: initialized all PAT entries
[ 5.077898] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.093162] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.145701] omap_hwmod: gpio6: _wait_target_disable failed
[ 5.156110] hctosys: unable to open rtc device (rtc0)
[ 5.205849] device-tree: Duplicate name in testcase-data, renamed to "duplicate-name#1"
[ 5.265445] ### dt-test ### start of unittest - you will see error messages
[ 5.285086] /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
[ 5.297396] /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
[ 5.310005] /testcase-data/phandle-tests/consumer-a: could not find phandle
[ 5.317633] /testcase-data/phandle-tests/consumer-a: could not find phandle
[ 5.325029] /testcase-data/phandle-tests/consumer-a: arguments longer than property
[ 5.333125] /testcase-data/phandle-tests/consumer-a: arguments longer than property
[ 5.358300] irq: no irq domain found for /testcase-data/interrupts/intc0 !
[ 5.415864] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.440840] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.498725] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.518498] omap_hwmod: gpio6: _wait_target_disable failed
[ 5.550800] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.570444] overlay_is_topmost: #5 clashes #6 @/testcase-data/overlay-node/test-bus/test-unittest8
[ 5.585125] overlay_removal_is_ok: overlay #5 is not topmost
[ 5.590910] of_overlay_destroy: removal check failed for overlay #5
[ 5.618677] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.638461] omap_hwmod: gpio6: _wait_target_disable failed
[ 5.670888] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.728721] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.748483] omap_hwmod: gpio6: _wait_target_disable failed
[ 5.780891] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.809612] ### dt-test ### end of unittest - 148 passed, 0 failed
[ 5.838609] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.858346] omap_hwmod: gpio6: _wait_target_disable failed
[ 5.890783] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.956598] omap_hwmod: gpio6: _wait_target_disable failed
[ 5.997491] pbias_mmc_omap5: disabling
[ 6.001361] aic_dvdd_fixed: disabling
[ 6.006599] ALSA device list:
[ 6.009654] No soundcards found.
[ 6.016615] Waiting for root device PARTUUID=00000000-02...
*****************************************************
Are there any more things to be additionally done apart from configuring it in device tree?
Regards,
Sri