[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a0a16c7a-0469-d880-532a-2bb69f5ea347@mediatek.com>
Date: Wed, 18 Sep 2024 14:45:19 +0800
From: Macpaul Lin <macpaul.lin@...iatek.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
CC: Andrew Lunn <andrew@...n.ch>, Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>, "David S . Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski
<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>, "Liam
Girdwood" <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, Sean Wang
<sean.wang@...iatek.com>, Sen Chu <sen.chu@...iatek.com>,
<netdev@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, Dmitry Torokhov
<dmitry.torokhov@...il.com>, Pavel Machek <pavel@....cz>, Lee Jones
<lee@...nel.org>, Sebastian Reichel <sre@...nel.org>, Alexandre Belloni
<alexandre.belloni@...tlin.com>, Chen Zhong <chen.zhong@...iatek.com>,
<linux-input@...r.kernel.org>, <linux-leds@...r.kernel.org>,
<linux-pm@...r.kernel.org>, <linux-rtc@...r.kernel.org>,
<linux-sound@...r.kernel.org>, Alexandre Mergnat <amergnat@...libre.com>,
Bear Wang <bear.wang@...iatek.com>, Pablo Sun <pablo.sun@...iatek.com>,
Macpaul Lin <macpaul@...il.com>, Chris-qj chen <chris-qj.chen@...iatek.com>,
MediaTek Chromebook Upstream
<Project_Global_Chrome_Upstream_Group@...iatek.com>, Chen-Yu Tsai
<wenst@...omium.org>
Subject: Re: [PATCH v5 2/3] dt-bindings: mfd: mediatek: mt6397: Convert to DT
schema format
On 9/17/24 15:00, Krzysztof Kozlowski wrote:
...
>
> On Mon, Sep 16, 2024 at 11:11:31PM +0800, Macpaul Lin wrote:
>> Convert the mfd: mediatek: mt6397 binding to DT schema format.
>>
>> MT6323, MT6358, and MT6397 are PMIC devices with multiple function
>> subdevices. They share a common PMIC design but have variations in
>> subdevice combinations.
>>
>> Key updates in this conversion:
>
> ...
[snip]
>> +
>> + ldo_vcamio {
>> + regulator-name = "vcamio";
>> + regulator-min-microvolt = <1800000>;
>> + regulator-max-microvolt = <1800000>;
>> + regulator-enable-ramp-delay = <216>;
>> + };
>> + };
>> +
>> + keys {
>> + compatible = "mediatek,mt6323-keys";
>> + mediatek,long-press-mode = <1>;
>> + power-off-time-sec = <0>;
>> +
>> + power {
>> + linux,keycodes = <116>;
>
> Messed indentation.
OOPS, I didn't find this during editing.
Will fix it in next version.
>> +
>> + power-controller {
>> + compatible = "mediatek,mt6323-pwrc";
>> + #power-domain-cells = <0>;
>> + };
>> +
>> + rtc {
>> + compatible = "mediatek,mt6323-rtc";
>> + };
>> + };
>
> Keep one complete example. Maybye two if they are significantly
> different, but I don't see these differences.
>
Okay, will keep complete example for mt6323.
Trimmed most similar part of mt6358 and mt6397.
Since there are some typical usage in other nodes.
Just keep these smaller nodes for mt6358 and mt6397.
Will also add a note of this in commit message.
>> +
>> + - |
>> + #include <dt-bindings/input/input.h>
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>> +
>> + pmic {
>> + compatible = "mediatek,mt6358">
>
>
> ....
>
>> -Required properties:
>> -- compatible: "mediatek,mt6397-pinctrl"
>> -For details, see ../pinctrl/pinctrl-mt65xx.txt
>
> Best regards,
> Krzysztof
>
>
Thanks!
Best regardsMacpaul Lin
Powered by blists - more mailing lists