[PATCH v3 4/4] arm/dts: Add tps65217 regulator DT data to am335x-bone.dts
Koen Kooi
koen at dominion.thruhere.net
Fri Aug 24 04:02:17 EDT 2012
Op 24 aug. 2012, om 09:56 heeft Koen Kooi <koen at dominion.thruhere.net> het volgende geschreven:
>
> Op 24 aug. 2012, om 09:26 heeft "AnilKumar, Chimata" <anilkumar at ti.com> het volgende geschreven:
>
>> Hi Koen,
>>
>> On Fri, Aug 24, 2012 at 11:58:34, Koen Kooi wrote:
>>>
>>> Op 24 aug. 2012, om 07:50 heeft "AnilKumar, Chimata" <anilkumar at ti.com> het volgende geschreven:
>>>
>>>> Hi Koen,
>>>>
>>>> On Thu, Aug 23, 2012 at 19:43:48, Koen Kooi wrote:
>>>>>
>>>>> Op 21 aug. 2012, om 13:17 heeft AnilKumar Ch <anilkumar at ti.com> het volgende geschreven:
>>>>>
>>>>>> Add tps65217 regulator device tree data to AM335x-Bone by adding
>>>>>> regulator consumers with tightened constraints and regulator-name.
>>>>>> TPS65217 regulator handle can be obtained by using this regulator
>>>>>> name.
>>>>>>
>>>>>> This patch also add I2C node with I2C frequency and tps65217 PMIC
>>>>>> I2C slave address.
>>>>>>
>>>>>> Signed-off-by: AnilKumar Ch <anilkumar at ti.com>
>>>>>
>>>>> I tried this and the kernel immediately crashes on my beaglebone. Could you upload the complete git tree and .config you used to test this to somewhere public please?
>>>>
>>>> Use this repo to test on beaglebone
>>>> https://github.com/hvaibhav/am335x-linux/commits/am335x-upstream-staging-pinctrl
>>>>
>>>> This wiki talks about how to build and use?
>>>> https://github.com/hvaibhav/am335x-linux/wiki/How-To-Use-Upstream-Tree
>>>>
>>>> Note: Enable tps65217 regulator in kernel config.
>>>
>>> I used that repo and as a seperate test I rebased that to latest mainline, same thing: as soon as I turn on the TPS in the .config it crashes on boot. Is the pinctrl repo the *exact* repo you used to test the patches on beaglebone?
>>
>> I tested on latest mainline after merging to
>> am335x-upstream-staging-pinctrl (voltage also changing)
>>
>> Can you share your .config and uImage?
>
> Config: https://github.com/beagleboard/kernel/blob/beaglebone-3.6/patches/configs/beaglebone
>
>> My config details:- (After merge)
>> 1. omap2plus_defconfig
>> 2. Enable tps65217 MFD driver
>> 3. Enable tps65217 regulator driver
>
>
> I rebased onto latest mainline and refreshed the base patches from Vaibhav and I now get:
>
> [ 0.246796] tps65217 0-0024: TPS65217 ID 0xf version 1.1
>
> So it boots! I don't know what made it break before, but it's working now :)
*sigh* I'm an idiot:
root at beaglebone:~# uname -a
Linux beaglebone 3.6.0-rc3-00103-gfd02083 #86 SMP Fri Aug 24 09:45:54 CEST 2012 armv7l GNU/Linux
root at beaglebone:~# zcat /proc/config.gz | grep 217
CONFIG_MFD_TPS65217=y
# CONFIG_REGULATOR_TPS65217 is not set
Will retry with regulator driver actually turned on in a bit.
More information about the linux-arm-kernel
mailing list