diff mbox series

[v2,6/7] dt-bindings: power: reset: mt6323: merge to MFD mediatek,mt6397 DT schema

Message ID 20240830110732.30080-6-macpaul.lin@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [v2,1/7] regulator: dt-bindings: mt6323: Convert to DT schema | expand

Commit Message

Macpaul Lin Aug. 30, 2024, 11:07 a.m. UTC
Convert mt6323-poweroff.txt to be compatible with DT schema.
Since this is a power-controller device node, merge it into parent
mediatek,mt6397.yaml. Subsequently, remove mt6323-poweroff.txt with a
separate patch.

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
 .../bindings/power/reset/mt6323-poweroff.txt  | 20 -------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt

Changes for v1 and v2:
 - This is the first version of converting mt6323-poweroff.txt.
   This is because converting mt6323-poweroff.txt together
   with mfd/mediatek,mt6397.yaml, so we've create a patch set
   instead of submitting single patch for each subdevice.
 - This patch has been made base on linux-next/master git repo.

Comments

Sebastian Reichel Sept. 3, 2024, 9:42 p.m. UTC | #1
Hi,

On Fri, Aug 30, 2024 at 07:07:31PM GMT, Macpaul Lin wrote:
> Convert mt6323-poweroff.txt to be compatible with DT schema.
> Since this is a power-controller device node, merge it into parent
> mediatek,mt6397.yaml. Subsequently, remove mt6323-poweroff.txt with a
> separate patch.
> 
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
> ---

Please merge this into PATCH 2/7 in the next version of the patchset
(i.e. the patch creating the new YAML binding).

-- Sebastian

>  .../bindings/power/reset/mt6323-poweroff.txt  | 20 -------------------
>  1 file changed, 20 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
> 
> Changes for v1 and v2:
>  - This is the first version of converting mt6323-poweroff.txt.
>    This is because converting mt6323-poweroff.txt together
>    with mfd/mediatek,mt6397.yaml, so we've create a patch set
>    instead of submitting single patch for each subdevice.
>  - This patch has been made base on linux-next/master git repo.
> 
> diff --git a/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt b/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
> deleted file mode 100644
> index 933f0c4..0000000
> --- a/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -Device Tree Bindings for Power Controller on MediaTek PMIC
> -
> -The power controller which could be found on PMIC is responsible for externally
> -powering off or on the remote MediaTek SoC through the circuit BBPU.
> -
> -Required properties:
> -- compatible: Should be one of follows
> -       "mediatek,mt6323-pwrc": for MT6323 PMIC
> -
> -Example:
> -
> -       pmic {
> -               compatible = "mediatek,mt6323";
> -
> -               ...
> -
> -               power-controller {
> -                       compatible = "mediatek,mt6323-pwrc";
> -               };
> -       }
> -- 
> 2.45.2
> 
>
Macpaul Lin Sept. 13, 2024, 4:33 p.m. UTC | #2
On 9/4/24 05:42, Sebastian Reichel wrote:
> Hi,
> 
> On Fri, Aug 30, 2024 at 07:07:31PM GMT, Macpaul Lin wrote:
>> Convert mt6323-poweroff.txt to be compatible with DT schema.
>> Since this is a power-controller device node, merge it into parent
>> mediatek,mt6397.yaml. Subsequently, remove mt6323-poweroff.txt with a
>> separate patch.
>>
>> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
>> ---
> 
> Please merge this into PATCH 2/7 in the next version of the patchset
> (i.e. the patch creating the new YAML binding).
> 
> -- Sebastian
> 

[snip]

Will squash the other patches for removing text format files in to the 
MFD patch in next (v3) version. Thanks!

Regards,
Macpaul Lin
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt b/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
deleted file mode 100644
index 933f0c4..0000000
--- a/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
+++ /dev/null
@@ -1,20 +0,0 @@ 
-Device Tree Bindings for Power Controller on MediaTek PMIC
-
-The power controller which could be found on PMIC is responsible for externally
-powering off or on the remote MediaTek SoC through the circuit BBPU.
-
-Required properties:
-- compatible: Should be one of follows
-       "mediatek,mt6323-pwrc": for MT6323 PMIC
-
-Example:
-
-       pmic {
-               compatible = "mediatek,mt6323";
-
-               ...
-
-               power-controller {
-                       compatible = "mediatek,mt6323-pwrc";
-               };
-       }