Hi,
I have a custom made board with AM3715 cpu and TPS65073 PMIC. Although the tps65073 seems to be registered in i2c bus, I have error messages like "No PMIC info for vdd_core", "sr_init: No PMIC hook to init smartreflex",... In the board init file I simple register the pmic like this: map_register_i2c_bus(2, 400, board_tps65073_info, ARRAY_SIZE(board_tps65073_info)). Does anybody know how to properly configure linux to use tps65073 pmic? Below is a part of the linux boot screen.
Thank a lot,
Ioannis
OMAP3_CAP # bootm
## Booting kernel from Legacy Image at 87000000 ...
Image Name: Linux-3.3.7
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3404160 Bytes = 3.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.3.7 (grag@linux-i7) (gcc version 4.5.3 20110311 (
prerelease) (GCC) ) #14 Mon Oct 29 15:38:06 EET 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[ 0.000000] Machine: OMAP3 CAP
[ 0.000000] Truncating RAM at a0000000-bfffffff to -af7fffff (vmalloc region
overlap).
[ 0.000000] Reserving 14680064 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.2 (l2cache sgx neon isp 192mhz_clk )
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 189200
[ 0.000000] Kernel command line: console=ttyO2,115200 root=/dev/nfs nfsroot=1
92.168.1.159:/home/grag/opt-a8/rfs rw ip=192.168.1.158:192.168.1.159:192.168.1.2
52:255.255.255.0::eth0 init=/sbin/init user_debug=31
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] allocated 1556480 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memor
y cgroups
[ 0.000000] Memory: 745MB = 745MB total
[ 0.000000] Memory: 747472k/747472k available, 30768k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc06145a8 (6194 kB)
[ 0.000000] .init : 0xc0615000 - 0xc064a000 ( 212 kB)
[ 0.000000] .data : 0xc064a000 - 0xc0694e40 ( 300 kB)
[ 0.000000] .bss : 0xc0694e64 - 0xc06ce434 ( 230 kB)
[ 0.000000] NR_IRQS:474
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupt
s
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 13
1071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000183] Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
[ 0.032470] pid_max: default: 32768 minimum: 301
[ 0.032653] Mount-cache hash table entries: 512
[ 0.032989] Initializing cgroup subsys cpuacct
[ 0.033020] Initializing cgroup subsys memory
[ 0.033050] Initializing cgroup subsys devices
[ 0.033081] Initializing cgroup subsys freezer
[ 0.033081] Initializing cgroup subsys blkio
[ 0.033111] Initializing cgroup subsys perf_event
[ 0.033203] CPU: Testing write buffer coherency: ok
[ 0.033416] Setting up static identity map for 0x80465c98 - 0x80465cf0
[ 0.034118] devtmpfs: initialized
[ 0.035766] omap_hwmod: usbtll_fck: missing clockdomain for usbtll_fck.
[ 0.037811] print_constraints: dummy:
[ 0.038055] NET: Registered protocol family 16
[ 0.038238] GPMC revision 5.0
[ 0.039581] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.039672] OMAP GPIO hardware version 2.5
[ 0.039794] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.039978] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.040161] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.040344] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[ 0.040527] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[ 0.041046] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.043243] Reprogramming SDRC clock to 400000000 Hz
[ 0.043243] dpll3_m2_clk rate change failed: -22
[ 0.044250] usbhs_omap: alias fck already exists
[ 0.044586] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.047821] omap-mcbsp.2: alias fck already exists
[ 0.048004] omap-mcbsp.3: alias fck already exists
[ 0.049011] OMAP DMA hardware revision 5.0
[ 0.056976] bio: create slab <bio-0> at 0
[ 0.057556] print_constraints: gpmc_smsc911x: 3300 mV normal standby
[ 0.058227] SCSI subsystem initialized
[ 0.059722] usbcore: registered new interface driver usbfs
[ 0.059844] usbcore: registered new interface driver hub
[ 0.059997] usbcore: registered new device driver usb
[ 0.060607] omap_i2c omap_i2c.2: bus 2 rev1.4.0 at 400 kHz
[ 0.061553] print_constraints: VDCDC1: 725 <--> 3300 mV at 1800 mV
[ 0.062255] print_constraints: VDCDC2: 725 <--> 3300 mV at 1200 mV
[ 0.062927] print_constraints: VDCDC3: 725 <--> 3300 mV at 1200 mV
[ 0.063568] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 0.064270] print_constraints: LDO2: 725 <--> 3300 mV at 1800 mV
[ 0.071411] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 400 kHz
[ 0.084320] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 400 kHz
[ 0.084930] omap-iommu omap-iommu.0: isp registered
[ 0.085083] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.085723] Bluetooth: Core ver 2.16
[ 0.085815] NET: Registered protocol family 31
[ 0.085815] Bluetooth: HCI device and connection manager initialized
[ 0.085845] Bluetooth: HCI socket layer initialized
[ 0.085845] Bluetooth: L2CAP socket layer initialized
[ 0.085876] Bluetooth: SCO socket layer initialized
[ 0.086151] Switching to clocksource 32k_counter
[ 0.097686] usbhs_omap usbhs_omap: xclk60mhsp2_ck set parentfailed error:-22
[ 0.098114] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.098236] HS USB OTG: no transceiver configured
[ 0.098236] musb-hdrc musb-hdrc: musb_init_controller failed with status -19
[ 0.098602] NET: Registered protocol family 2
[ 0.098846] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.099334] TCP established hash table entries: 131072 (order: 8, 1048576 byt
es)
[ 0.102203] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.102996] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.102996] TCP reno registered
[ 0.103027] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.103057] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.103332] NET: Registered protocol family 1
[ 0.103668] RPC: Registered named UNIX socket transport module.
[ 0.103698] RPC: Registered udp transport module.
[ 0.103698] RPC: Registered tcp transport module.
[ 0.103729] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.104339] omap_init_opp_table: no hwmod or odev for iva, [6] cannot add OPP
s.
[ 0.107238] VFS: Disk quotas dquot_6.5.2
[ 0.107299] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.107879] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.108215] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.108245] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 0.108917] msgmni has been set to 1459
[ 0.110565] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
53)
[ 3.183441] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 3
[ 3.191619] ThumbEE CPU extension supported.
[ 3.197540] omap_vc_init_channel: No PMIC info for vdd_core
[ 3.203491] omap_vp_init: No PMIC info for vdd_core
[ 3.208618] omap_vc_init_channel: No PMIC info for vdd_mpu_iva
[ 3.214843] omap_vp_init: No PMIC info for vdd_mpu_iva
[ 3.220336] omap_vc_pre_scale: Insufficient pmic info to scale the vdd_mpu_iv
a
[ 3.227996] omap_vc_pre_scale: Insufficient pmic info to scale the vdd_core
[ 3.236328] sr_init: No PMIC hook to init smartreflex
[ 3.241821] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver init
ialized
[ 3.250183] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver init
ialized
[ 3.262969] clock: disabling unused clocks to save power
[ 3.269592] registered taskstats version 1
[ 3.274627] omapfb omapfb: no displays
[ 3.278564] omapfb omapfb: failed to setup omapfb
[ 3.283691] omapfb: probe of omapfb failed with error -22
[ 3.290069] regulator_init_complete: LDO2: incomplete constraints, leaving on
[ 3.298187] regulator_init_complete: LDO1: incomplete constraints, leaving on
[ 3.306274] regulator_init_complete: VDCDC3: incomplete constraints, leaving
on
[ 3.314544] regulator_init_complete: VDCDC2: incomplete constraints, leaving
on
[ 3.322814] regulator_init_complete: VDCDC1: incomplete constraints, leaving
on
[ 3.330718] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.469299] smsc911x smsc911x.0: eth0: SMSC911x/921x identified at 0xf0014000
, IRQ: 336
[ 3.501037] IP-Config: Complete:
[ 3.504425] device=eth0, addr=192.168.1.158, mask=255.255.255.0, gw=192.
168.1.252,
[ 3.512786] host=192.168.1.158, domain=, nis-domain=(none),
[ 3.519195] bootserver=192.168.1.159, rootserver=192.168.1.159, rootpath