[U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs
Patrice CHOTARD
patrice.chotard at st.com
Tue Sep 26 08:51:15 UTC 2017
Hi Vikas
On 09/25/2017 09:51 AM, Patrice CHOTARD wrote:
> Hi Vikas
>
> On 09/20/2017 03:39 AM, Vikas Manocha wrote:
>> Hi Patrice,
>>
>> On 09/13/2017 09:00 AM, patrice.chotard at st.com wrote:
>>> From: Patrice Chotard <patrice.chotard at st.com>
>>>
>>> This driver implements basic clock setup, only clock gating
>>> is implemented.
>>>
>>> This driver doesn't implement .of_match as it's binded
>>> by MFD RCC driver.
>>>
>>> Files include/dt-bindings/clock/stm32h7-clks.h and
>>> doc/device-tree-bindings/clock/st,stm32h7-rcc.txt
>>> will be available soon in a kernel tag, as all the
>>> bindings have been acked by Rob Herring [1].
>>>
>>> [1] http://lkml.iu.edu/hypermail/linux/kernel/1704.0/00935.html
>>>
>>> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
>>> ---
[...]
>>> +
>>> +#define PWR_CR3 0x0c
>>> +#define PWR_CR3_SDEN BIT(2)
>>
>> Can we use SCUEN suffix to match the Ref Manual.
>
> Which version of reference manual do you use ? in mine its SDEN, but i
> propably use a too old ref manual.
>
I have found the last version of STM32H7 ref manual, mine was too old,
ok i will update the PWR_CR3_SDEN to PWR_CR3_SCUEN
thanks
Patrice
>>
>>> +#define PWR_D3CR 0x18
>>> +#define PWR_D3CR_VOS_MASK GENMASK(15, 14)
>>> +#define PWR_D3CR_VOS_SHIFT 14
>>> +#define VOS_SCALE_3 1
>>> +#define VOS_SCALE_2 2
>>> +#define VOS_SCALE_1 3
>>> +#define PWR_D3CR_VOSREADY BIT(13)
More information about the U-Boot
mailing list