All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27  8:03 ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang


This patch series add binding documen for mt6360 mfd architecture and
fix sub-device MT6360 LED

Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/

leds/leds-mt6360.yaml |    2 -
 mfd/mt6360.yaml       |  258 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 258 insertions(+), 2 deletions(-)


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 0/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27  8:03 ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang


This patch series add binding documen for mt6360 mfd architecture and
fix sub-device MT6360 LED

Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/

leds/leds-mt6360.yaml |    2 -
 mfd/mt6360.yaml       |  258 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 258 insertions(+), 2 deletions(-)


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 0/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27  8:03 ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang


This patch series add binding documen for mt6360 mfd architecture and
fix sub-device MT6360 LED

Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/

leds/leds-mt6360.yaml |    2 -
 mfd/mt6360.yaml       |  258 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 258 insertions(+), 2 deletions(-)


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED
  2022-04-27  8:03 ` Gene Chen
  (?)
@ 2022-04-27  8:03   ` Gene Chen
  -1 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

From: Gene Chen <gene_chen@richtek.com>

Fix binding document for the Mediatek MT6360 LED

Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/
Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
index b2fe6eb89389..10f95bf1d666 100644
--- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
@@ -43,8 +43,6 @@ patternProperties:
           - 4 # LED output FLASH1
           - 5 # LED output FLASH2
 
-unevaluatedProperties: false
-
 required:
   - compatible
   - "#address-cells"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED
@ 2022-04-27  8:03   ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

From: Gene Chen <gene_chen@richtek.com>

Fix binding document for the Mediatek MT6360 LED

Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/
Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
index b2fe6eb89389..10f95bf1d666 100644
--- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
@@ -43,8 +43,6 @@ patternProperties:
           - 4 # LED output FLASH1
           - 5 # LED output FLASH2
 
-unevaluatedProperties: false
-
 required:
   - compatible
   - "#address-cells"
-- 
2.25.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED
@ 2022-04-27  8:03   ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

From: Gene Chen <gene_chen@richtek.com>

Fix binding document for the Mediatek MT6360 LED

Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/
Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
index b2fe6eb89389..10f95bf1d666 100644
--- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
@@ -43,8 +43,6 @@ patternProperties:
           - 4 # LED output FLASH1
           - 5 # LED output FLASH2
 
-unevaluatedProperties: false
-
 required:
   - compatible
   - "#address-cells"
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
  2022-04-27  8:03 ` Gene Chen
  (?)
@ 2022-04-27  8:03   ` Gene Chen
  -1 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

From: Gene Chen <gene_chen@richtek.com>

Add bindings for the Mediatek MT6360

Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
 .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
 1 file changed, 258 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml

diff --git a/Documentation/devicetree/bindings/mfd/mt6360.yaml b/Documentation/devicetree/bindings/mfd/mt6360.yaml
new file mode 100644
index 000000000000..2c0c5df16b00
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/mt6360.yaml
@@ -0,0 +1,258 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/mt6360.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MT6360 PMIC from MediaTek Integrated IC
+
+maintainers:
+  - Gene Chen <gene_chen@richtek.com>
+
+description: |
+  MT6360 is a PMIC device with the following sub modules.
+  It is interfaced to host controller using I2C interface.
+
+  This document describes the binding for PMIC device and its sub module.
+
+properties:
+  compatible:
+    const: mediatek,mt6360
+
+  reg:
+    description: I2C device address.
+    maxItems: 1
+
+  wakeup-source: true
+
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    enum:
+      - IRQB
+
+  interrupt-controller: true
+
+  "#interrupt-cells":
+    const: 1
+    description:
+      The first cell is the IRQ number.
+
+  regulators:
+    $ref: ../regulator/mt6360-regulator.yaml
+
+  charger:
+    $ref: ../power/supply/mt6360_charger.yaml
+
+  tcpc:
+    $ref: ../usb/mediatek,mt6360-tcpc.yaml
+
+  led-controller:
+    $ref: ../leds/leds-mt6360.yaml
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - interrupt-controller
+  - "#interrupt-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
+    #include <dt-bindings/leds/common.h>
+    #include <dt-bindings/usb/pd.h>
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      mt6360@34 {
+        compatible = "mediatek,mt6360";
+        reg = <0x34>;
+        wakeup-source;
+        interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
+        interrupt-names = "IRQB";
+        interrupt-controller;
+        #interrupt-cells = <1>;
+
+        mt6360_charger: charger {
+          compatible = "mediatek,mt6360-chg";
+          richtek,vinovp-microvolt = <14500000>;
+
+          otg_vbus_regulator: usb-otg-vbus-regulator {
+            regulator-compatible = "usb-otg-vbus";
+            regulator-name = "usb-otg-vbus";
+            regulator-min-microvolt = <4425000>;
+            regulator-max-microvolt = <5825000>;
+          };
+        };
+
+        led-controller {
+          compatible = "mediatek,mt6360-led";
+          #address-cells = <1>;
+          #size-cells = <0>;
+
+          multi-led@0 {
+            reg = <0>;
+            function = LED_FUNCTION_INDICATOR;
+            color = <LED_COLOR_ID_RGB>;
+            led-max-microamp = <24000>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+            led@0 {
+              reg = <0>;
+              color = <LED_COLOR_ID_RED>;
+            };
+            led@1 {
+              reg = <1>;
+              color = <LED_COLOR_ID_GREEN>;
+            };
+            led@2 {
+              reg = <2>;
+              color = <LED_COLOR_ID_BLUE>;
+            };
+          };
+          led@3 {
+            reg = <3>;
+            function = LED_FUNCTION_INDICATOR;
+            color = <LED_COLOR_ID_WHITE>;
+            led-max-microamp = <150000>;
+          };
+          led@4 {
+            reg = <4>;
+            function = LED_FUNCTION_FLASH;
+            color = <LED_COLOR_ID_WHITE>;
+            function-enumerator = <1>;
+            led-max-microamp = <200000>;
+            flash-max-microamp = <500000>;
+            flash-max-timeout-us = <1024000>;
+          };
+          led@5 {
+            reg = <5>;
+            function = LED_FUNCTION_FLASH;
+            color = <LED_COLOR_ID_WHITE>;
+            function-enumerator = <2>;
+            led-max-microamp = <200000>;
+            flash-max-microamp = <500000>;
+            flash-max-timeout-us = <1024000>;
+          };
+        };
+
+        regulators {
+          compatible = "mediatek,mt6360-regulator";
+          LDO_VIN3-supply = <&BUCK2>;
+          buck1 {
+            regulator-compatible = "BUCK1";
+            regulator-name = "mt6360,buck1";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <1300000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP
+                 MT6360_OPMODE_ULP>;
+          };
+          BUCK2: buck2 {
+            regulator-compatible = "BUCK2";
+            regulator-name = "mt6360,buck2";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <1300000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP
+                 MT6360_OPMODE_ULP>;
+          };
+          ldo6 {
+            regulator-compatible = "LDO6";
+            regulator-name = "mt6360,ldo6";
+            regulator-min-microvolt = <500000>;
+            regulator-max-microvolt = <2100000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo7 {
+            regulator-compatible = "LDO7";
+            regulator-name = "mt6360,ldo7";
+            regulator-min-microvolt = <500000>;
+            regulator-max-microvolt = <2100000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo1 {
+            regulator-compatible = "LDO1";
+            regulator-name = "mt6360,ldo1";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+            ldo2 {
+            regulator-compatible = "LDO2";
+            regulator-name = "mt6360,ldo2";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo3 {
+            regulator-compatible = "LDO3";
+            regulator-name = "mt6360,ldo3";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo5 {
+            regulator-compatible = "LDO5";
+            regulator-name = "mt6360,ldo5";
+            regulator-min-microvolt = <2700000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+        };
+
+        tcpc {
+          compatible = "mediatek,mt6360-tcpc";
+          interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
+          interrupt-names = "PD_IRQB";
+
+          connector {
+            compatible = "usb-c-connector";
+            label = "USB-C";
+            data-role = "dual";
+            power-role = "dual";
+            try-power-role = "sink";
+            source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
+            sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
+            op-sink-microwatt = <10000000>;
+
+            ports {
+              #address-cells = <1>;
+              #size-cells = <0>;
+
+              port@0 {
+                reg = <0>;
+                endpoint {
+                  remote-endpoint = <&usb_hs>;
+                };
+              };
+              port@1 {
+                reg = <1>;
+                endpoint {
+                  remote-endpoint = <&usb_ss>;
+                };
+              };
+              port@2 {
+                reg = <2>;
+                endpoint {
+                  remote-endpoint = <&dp_aux>;
+                };
+              };
+            };
+          };
+        };
+
+      };
+    };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27  8:03   ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

From: Gene Chen <gene_chen@richtek.com>

Add bindings for the Mediatek MT6360

Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
 .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
 1 file changed, 258 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml

diff --git a/Documentation/devicetree/bindings/mfd/mt6360.yaml b/Documentation/devicetree/bindings/mfd/mt6360.yaml
new file mode 100644
index 000000000000..2c0c5df16b00
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/mt6360.yaml
@@ -0,0 +1,258 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/mt6360.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MT6360 PMIC from MediaTek Integrated IC
+
+maintainers:
+  - Gene Chen <gene_chen@richtek.com>
+
+description: |
+  MT6360 is a PMIC device with the following sub modules.
+  It is interfaced to host controller using I2C interface.
+
+  This document describes the binding for PMIC device and its sub module.
+
+properties:
+  compatible:
+    const: mediatek,mt6360
+
+  reg:
+    description: I2C device address.
+    maxItems: 1
+
+  wakeup-source: true
+
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    enum:
+      - IRQB
+
+  interrupt-controller: true
+
+  "#interrupt-cells":
+    const: 1
+    description:
+      The first cell is the IRQ number.
+
+  regulators:
+    $ref: ../regulator/mt6360-regulator.yaml
+
+  charger:
+    $ref: ../power/supply/mt6360_charger.yaml
+
+  tcpc:
+    $ref: ../usb/mediatek,mt6360-tcpc.yaml
+
+  led-controller:
+    $ref: ../leds/leds-mt6360.yaml
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - interrupt-controller
+  - "#interrupt-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
+    #include <dt-bindings/leds/common.h>
+    #include <dt-bindings/usb/pd.h>
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      mt6360@34 {
+        compatible = "mediatek,mt6360";
+        reg = <0x34>;
+        wakeup-source;
+        interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
+        interrupt-names = "IRQB";
+        interrupt-controller;
+        #interrupt-cells = <1>;
+
+        mt6360_charger: charger {
+          compatible = "mediatek,mt6360-chg";
+          richtek,vinovp-microvolt = <14500000>;
+
+          otg_vbus_regulator: usb-otg-vbus-regulator {
+            regulator-compatible = "usb-otg-vbus";
+            regulator-name = "usb-otg-vbus";
+            regulator-min-microvolt = <4425000>;
+            regulator-max-microvolt = <5825000>;
+          };
+        };
+
+        led-controller {
+          compatible = "mediatek,mt6360-led";
+          #address-cells = <1>;
+          #size-cells = <0>;
+
+          multi-led@0 {
+            reg = <0>;
+            function = LED_FUNCTION_INDICATOR;
+            color = <LED_COLOR_ID_RGB>;
+            led-max-microamp = <24000>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+            led@0 {
+              reg = <0>;
+              color = <LED_COLOR_ID_RED>;
+            };
+            led@1 {
+              reg = <1>;
+              color = <LED_COLOR_ID_GREEN>;
+            };
+            led@2 {
+              reg = <2>;
+              color = <LED_COLOR_ID_BLUE>;
+            };
+          };
+          led@3 {
+            reg = <3>;
+            function = LED_FUNCTION_INDICATOR;
+            color = <LED_COLOR_ID_WHITE>;
+            led-max-microamp = <150000>;
+          };
+          led@4 {
+            reg = <4>;
+            function = LED_FUNCTION_FLASH;
+            color = <LED_COLOR_ID_WHITE>;
+            function-enumerator = <1>;
+            led-max-microamp = <200000>;
+            flash-max-microamp = <500000>;
+            flash-max-timeout-us = <1024000>;
+          };
+          led@5 {
+            reg = <5>;
+            function = LED_FUNCTION_FLASH;
+            color = <LED_COLOR_ID_WHITE>;
+            function-enumerator = <2>;
+            led-max-microamp = <200000>;
+            flash-max-microamp = <500000>;
+            flash-max-timeout-us = <1024000>;
+          };
+        };
+
+        regulators {
+          compatible = "mediatek,mt6360-regulator";
+          LDO_VIN3-supply = <&BUCK2>;
+          buck1 {
+            regulator-compatible = "BUCK1";
+            regulator-name = "mt6360,buck1";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <1300000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP
+                 MT6360_OPMODE_ULP>;
+          };
+          BUCK2: buck2 {
+            regulator-compatible = "BUCK2";
+            regulator-name = "mt6360,buck2";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <1300000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP
+                 MT6360_OPMODE_ULP>;
+          };
+          ldo6 {
+            regulator-compatible = "LDO6";
+            regulator-name = "mt6360,ldo6";
+            regulator-min-microvolt = <500000>;
+            regulator-max-microvolt = <2100000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo7 {
+            regulator-compatible = "LDO7";
+            regulator-name = "mt6360,ldo7";
+            regulator-min-microvolt = <500000>;
+            regulator-max-microvolt = <2100000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo1 {
+            regulator-compatible = "LDO1";
+            regulator-name = "mt6360,ldo1";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+            ldo2 {
+            regulator-compatible = "LDO2";
+            regulator-name = "mt6360,ldo2";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo3 {
+            regulator-compatible = "LDO3";
+            regulator-name = "mt6360,ldo3";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo5 {
+            regulator-compatible = "LDO5";
+            regulator-name = "mt6360,ldo5";
+            regulator-min-microvolt = <2700000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+        };
+
+        tcpc {
+          compatible = "mediatek,mt6360-tcpc";
+          interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
+          interrupt-names = "PD_IRQB";
+
+          connector {
+            compatible = "usb-c-connector";
+            label = "USB-C";
+            data-role = "dual";
+            power-role = "dual";
+            try-power-role = "sink";
+            source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
+            sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
+            op-sink-microwatt = <10000000>;
+
+            ports {
+              #address-cells = <1>;
+              #size-cells = <0>;
+
+              port@0 {
+                reg = <0>;
+                endpoint {
+                  remote-endpoint = <&usb_hs>;
+                };
+              };
+              port@1 {
+                reg = <1>;
+                endpoint {
+                  remote-endpoint = <&usb_ss>;
+                };
+              };
+              port@2 {
+                reg = <2>;
+                endpoint {
+                  remote-endpoint = <&dp_aux>;
+                };
+              };
+            };
+          };
+        };
+
+      };
+    };
-- 
2.25.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27  8:03   ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-27  8:03 UTC (permalink / raw)
  To: lee.jones, robh+dt, krzysztof.kozlowski+dt, matthias.bgg, pavel
  Cc: devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

From: Gene Chen <gene_chen@richtek.com>

Add bindings for the Mediatek MT6360

Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
 .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
 1 file changed, 258 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml

diff --git a/Documentation/devicetree/bindings/mfd/mt6360.yaml b/Documentation/devicetree/bindings/mfd/mt6360.yaml
new file mode 100644
index 000000000000..2c0c5df16b00
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/mt6360.yaml
@@ -0,0 +1,258 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/mt6360.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MT6360 PMIC from MediaTek Integrated IC
+
+maintainers:
+  - Gene Chen <gene_chen@richtek.com>
+
+description: |
+  MT6360 is a PMIC device with the following sub modules.
+  It is interfaced to host controller using I2C interface.
+
+  This document describes the binding for PMIC device and its sub module.
+
+properties:
+  compatible:
+    const: mediatek,mt6360
+
+  reg:
+    description: I2C device address.
+    maxItems: 1
+
+  wakeup-source: true
+
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    enum:
+      - IRQB
+
+  interrupt-controller: true
+
+  "#interrupt-cells":
+    const: 1
+    description:
+      The first cell is the IRQ number.
+
+  regulators:
+    $ref: ../regulator/mt6360-regulator.yaml
+
+  charger:
+    $ref: ../power/supply/mt6360_charger.yaml
+
+  tcpc:
+    $ref: ../usb/mediatek,mt6360-tcpc.yaml
+
+  led-controller:
+    $ref: ../leds/leds-mt6360.yaml
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - interrupt-controller
+  - "#interrupt-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
+    #include <dt-bindings/leds/common.h>
+    #include <dt-bindings/usb/pd.h>
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      mt6360@34 {
+        compatible = "mediatek,mt6360";
+        reg = <0x34>;
+        wakeup-source;
+        interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
+        interrupt-names = "IRQB";
+        interrupt-controller;
+        #interrupt-cells = <1>;
+
+        mt6360_charger: charger {
+          compatible = "mediatek,mt6360-chg";
+          richtek,vinovp-microvolt = <14500000>;
+
+          otg_vbus_regulator: usb-otg-vbus-regulator {
+            regulator-compatible = "usb-otg-vbus";
+            regulator-name = "usb-otg-vbus";
+            regulator-min-microvolt = <4425000>;
+            regulator-max-microvolt = <5825000>;
+          };
+        };
+
+        led-controller {
+          compatible = "mediatek,mt6360-led";
+          #address-cells = <1>;
+          #size-cells = <0>;
+
+          multi-led@0 {
+            reg = <0>;
+            function = LED_FUNCTION_INDICATOR;
+            color = <LED_COLOR_ID_RGB>;
+            led-max-microamp = <24000>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+            led@0 {
+              reg = <0>;
+              color = <LED_COLOR_ID_RED>;
+            };
+            led@1 {
+              reg = <1>;
+              color = <LED_COLOR_ID_GREEN>;
+            };
+            led@2 {
+              reg = <2>;
+              color = <LED_COLOR_ID_BLUE>;
+            };
+          };
+          led@3 {
+            reg = <3>;
+            function = LED_FUNCTION_INDICATOR;
+            color = <LED_COLOR_ID_WHITE>;
+            led-max-microamp = <150000>;
+          };
+          led@4 {
+            reg = <4>;
+            function = LED_FUNCTION_FLASH;
+            color = <LED_COLOR_ID_WHITE>;
+            function-enumerator = <1>;
+            led-max-microamp = <200000>;
+            flash-max-microamp = <500000>;
+            flash-max-timeout-us = <1024000>;
+          };
+          led@5 {
+            reg = <5>;
+            function = LED_FUNCTION_FLASH;
+            color = <LED_COLOR_ID_WHITE>;
+            function-enumerator = <2>;
+            led-max-microamp = <200000>;
+            flash-max-microamp = <500000>;
+            flash-max-timeout-us = <1024000>;
+          };
+        };
+
+        regulators {
+          compatible = "mediatek,mt6360-regulator";
+          LDO_VIN3-supply = <&BUCK2>;
+          buck1 {
+            regulator-compatible = "BUCK1";
+            regulator-name = "mt6360,buck1";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <1300000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP
+                 MT6360_OPMODE_ULP>;
+          };
+          BUCK2: buck2 {
+            regulator-compatible = "BUCK2";
+            regulator-name = "mt6360,buck2";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <1300000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP
+                 MT6360_OPMODE_ULP>;
+          };
+          ldo6 {
+            regulator-compatible = "LDO6";
+            regulator-name = "mt6360,ldo6";
+            regulator-min-microvolt = <500000>;
+            regulator-max-microvolt = <2100000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo7 {
+            regulator-compatible = "LDO7";
+            regulator-name = "mt6360,ldo7";
+            regulator-min-microvolt = <500000>;
+            regulator-max-microvolt = <2100000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo1 {
+            regulator-compatible = "LDO1";
+            regulator-name = "mt6360,ldo1";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+            ldo2 {
+            regulator-compatible = "LDO2";
+            regulator-name = "mt6360,ldo2";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo3 {
+            regulator-compatible = "LDO3";
+            regulator-name = "mt6360,ldo3";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+          ldo5 {
+            regulator-compatible = "LDO5";
+            regulator-name = "mt6360,ldo5";
+            regulator-min-microvolt = <2700000>;
+            regulator-max-microvolt = <3600000>;
+            regulator-allowed-modes = <MT6360_OPMODE_NORMAL
+                 MT6360_OPMODE_LP>;
+          };
+        };
+
+        tcpc {
+          compatible = "mediatek,mt6360-tcpc";
+          interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
+          interrupt-names = "PD_IRQB";
+
+          connector {
+            compatible = "usb-c-connector";
+            label = "USB-C";
+            data-role = "dual";
+            power-role = "dual";
+            try-power-role = "sink";
+            source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
+            sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
+            op-sink-microwatt = <10000000>;
+
+            ports {
+              #address-cells = <1>;
+              #size-cells = <0>;
+
+              port@0 {
+                reg = <0>;
+                endpoint {
+                  remote-endpoint = <&usb_hs>;
+                };
+              };
+              port@1 {
+                reg = <1>;
+                endpoint {
+                  remote-endpoint = <&usb_ss>;
+                };
+              };
+              port@2 {
+                reg = <2>;
+                endpoint {
+                  remote-endpoint = <&dp_aux>;
+                };
+              };
+            };
+          };
+        };
+
+      };
+    };
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED
  2022-04-27  8:03   ` Gene Chen
  (?)
@ 2022-04-27 18:49     ` Rob Herring
  -1 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-27 18:49 UTC (permalink / raw)
  To: Gene Chen
  Cc: lee.jones, krzysztof.kozlowski+dt, matthias.bgg, pavel,
	devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

On Wed, Apr 27, 2022 at 04:03:29PM +0800, Gene Chen wrote:
> From: Gene Chen <gene_chen@richtek.com>
> 
> Fix binding document for the Mediatek MT6360 LED
> 
> Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/
> Signed-off-by: Gene Chen <gene_chen@richtek.com>
> ---
>  Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
>  1 file changed, 2 deletions(-)

I already sent and applied the same patch[1].

Rob

[1] https://lore.kernel.org/lkml/20220426133508.1849580-1-robh@kernel.org/

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED
@ 2022-04-27 18:49     ` Rob Herring
  0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-27 18:49 UTC (permalink / raw)
  To: Gene Chen
  Cc: lee.jones, krzysztof.kozlowski+dt, matthias.bgg, pavel,
	devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

On Wed, Apr 27, 2022 at 04:03:29PM +0800, Gene Chen wrote:
> From: Gene Chen <gene_chen@richtek.com>
> 
> Fix binding document for the Mediatek MT6360 LED
> 
> Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/
> Signed-off-by: Gene Chen <gene_chen@richtek.com>
> ---
>  Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
>  1 file changed, 2 deletions(-)

I already sent and applied the same patch[1].

Rob

[1] https://lore.kernel.org/lkml/20220426133508.1849580-1-robh@kernel.org/

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED
@ 2022-04-27 18:49     ` Rob Herring
  0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-27 18:49 UTC (permalink / raw)
  To: Gene Chen
  Cc: lee.jones, krzysztof.kozlowski+dt, matthias.bgg, pavel,
	devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

On Wed, Apr 27, 2022 at 04:03:29PM +0800, Gene Chen wrote:
> From: Gene Chen <gene_chen@richtek.com>
> 
> Fix binding document for the Mediatek MT6360 LED
> 
> Link: https://lore.kernel.org/lkml/YmHK02g1pC19Oyh6@robh.at.kernel.org/
> Signed-off-by: Gene Chen <gene_chen@richtek.com>
> ---
>  Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
>  1 file changed, 2 deletions(-)

I already sent and applied the same patch[1].

Rob

[1] https://lore.kernel.org/lkml/20220426133508.1849580-1-robh@kernel.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
  2022-04-27  8:03   ` Gene Chen
  (?)
@ 2022-04-27 18:51     ` Rob Herring
  -1 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-27 18:51 UTC (permalink / raw)
  To: Gene Chen
  Cc: lee.jones, krzysztof.kozlowski+dt, matthias.bgg, pavel,
	devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> From: Gene Chen <gene_chen@richtek.com>
> 
> Add bindings for the Mediatek MT6360
> 
> Signed-off-by: Gene Chen <gene_chen@richtek.com>
> ---
>  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
>  1 file changed, 258 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml

As I mentioned, I applied your previous version. Please send a patch on 
top of it adding the child nodes.

Rob

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27 18:51     ` Rob Herring
  0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-27 18:51 UTC (permalink / raw)
  To: Gene Chen
  Cc: lee.jones, krzysztof.kozlowski+dt, matthias.bgg, pavel,
	devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> From: Gene Chen <gene_chen@richtek.com>
> 
> Add bindings for the Mediatek MT6360
> 
> Signed-off-by: Gene Chen <gene_chen@richtek.com>
> ---
>  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
>  1 file changed, 258 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml

As I mentioned, I applied your previous version. Please send a patch on 
top of it adding the child nodes.

Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-27 18:51     ` Rob Herring
  0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-27 18:51 UTC (permalink / raw)
  To: Gene Chen
  Cc: lee.jones, krzysztof.kozlowski+dt, matthias.bgg, pavel,
	devicetree, linux-leds, linux-arm-kernel, linux-mediatek,
	linux-kernel, gene_chen, cy_huang

On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> From: Gene Chen <gene_chen@richtek.com>
> 
> Add bindings for the Mediatek MT6360
> 
> Signed-off-by: Gene Chen <gene_chen@richtek.com>
> ---
>  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
>  1 file changed, 258 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml

As I mentioned, I applied your previous version. Please send a patch on 
top of it adding the child nodes.

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
  2022-04-27 18:51     ` Rob Herring
  (?)
@ 2022-04-28  9:30       ` Gene Chen
  -1 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-28  9:30 UTC (permalink / raw)
  To: Rob Herring
  Cc: Lee Jones, krzysztof.kozlowski+dt, Matthias Brugger,
	Pavel Machek, devicetree, Linux LED Subsystem,
	linux-arm Mailing List, moderated list:ARM/Mediatek SoC support,
	Linux Kernel Mailing List, Gene Chen, ChiYuan Huang

Rob Herring <robh@kernel.org> 於 2022年4月28日 週四 上午2:51寫道:
>
> On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> > From: Gene Chen <gene_chen@richtek.com>
> >
> > Add bindings for the Mediatek MT6360
> >
> > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > ---
> >  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
> >  1 file changed, 258 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml
>
> As I mentioned, I applied your previous version. Please send a patch on
> top of it adding the child nodes.
>
> Rob

Hi Rob,

    I try to sync latest code and can't find the mt6360 led fixed patch.
    Could you please tell me how to get and apply previous version?
    And should I add a tags in commit message to tell which previous
commit I based on?

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-28  9:30       ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-28  9:30 UTC (permalink / raw)
  To: Rob Herring
  Cc: Lee Jones, krzysztof.kozlowski+dt, Matthias Brugger,
	Pavel Machek, devicetree, Linux LED Subsystem,
	linux-arm Mailing List, moderated list:ARM/Mediatek SoC support,
	Linux Kernel Mailing List, Gene Chen, ChiYuan Huang

Rob Herring <robh@kernel.org> 於 2022年4月28日 週四 上午2:51寫道:
>
> On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> > From: Gene Chen <gene_chen@richtek.com>
> >
> > Add bindings for the Mediatek MT6360
> >
> > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > ---
> >  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
> >  1 file changed, 258 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml
>
> As I mentioned, I applied your previous version. Please send a patch on
> top of it adding the child nodes.
>
> Rob

Hi Rob,

    I try to sync latest code and can't find the mt6360 led fixed patch.
    Could you please tell me how to get and apply previous version?
    And should I add a tags in commit message to tell which previous
commit I based on?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-28  9:30       ` Gene Chen
  0 siblings, 0 replies; 21+ messages in thread
From: Gene Chen @ 2022-04-28  9:30 UTC (permalink / raw)
  To: Rob Herring
  Cc: Lee Jones, krzysztof.kozlowski+dt, Matthias Brugger,
	Pavel Machek, devicetree, Linux LED Subsystem,
	linux-arm Mailing List, moderated list:ARM/Mediatek SoC support,
	Linux Kernel Mailing List, Gene Chen, ChiYuan Huang

Rob Herring <robh@kernel.org> 於 2022年4月28日 週四 上午2:51寫道:
>
> On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> > From: Gene Chen <gene_chen@richtek.com>
> >
> > Add bindings for the Mediatek MT6360
> >
> > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > ---
> >  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
> >  1 file changed, 258 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml
>
> As I mentioned, I applied your previous version. Please send a patch on
> top of it adding the child nodes.
>
> Rob

Hi Rob,

    I try to sync latest code and can't find the mt6360 led fixed patch.
    Could you please tell me how to get and apply previous version?
    And should I add a tags in commit message to tell which previous
commit I based on?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
  2022-04-28  9:30       ` Gene Chen
  (?)
@ 2022-04-28 13:17         ` Rob Herring
  -1 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-28 13:17 UTC (permalink / raw)
  To: Gene Chen
  Cc: Lee Jones, krzysztof.kozlowski+dt, Matthias Brugger,
	Pavel Machek, devicetree, Linux LED Subsystem,
	linux-arm Mailing List, moderated list:ARM/Mediatek SoC support,
	Linux Kernel Mailing List, Gene Chen, ChiYuan Huang

On Thu, Apr 28, 2022 at 05:30:38PM +0800, Gene Chen wrote:
> Rob Herring <robh@kernel.org> 於 2022年4月28日 週四 上午2:51寫道:
> >
> > On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> > > From: Gene Chen <gene_chen@richtek.com>
> > >
> > > Add bindings for the Mediatek MT6360
> > >
> > > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > > ---
> > >  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
> > >  1 file changed, 258 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml
> >
> > As I mentioned, I applied your previous version. Please send a patch on
> > top of it adding the child nodes.
> >
> > Rob
> 
> Hi Rob,
> 
>     I try to sync latest code and can't find the mt6360 led fixed patch.
>     Could you please tell me how to get and apply previous version?
>     And should I add a tags in commit message to tell which previous
> commit I based on?

The led fix is in my dt/linus branch and today's linux next.

The mfd patch is in my dt/next branch.

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-28 13:17         ` Rob Herring
  0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-28 13:17 UTC (permalink / raw)
  To: Gene Chen
  Cc: Lee Jones, krzysztof.kozlowski+dt, Matthias Brugger,
	Pavel Machek, devicetree, Linux LED Subsystem,
	linux-arm Mailing List, moderated list:ARM/Mediatek SoC support,
	Linux Kernel Mailing List, Gene Chen, ChiYuan Huang

On Thu, Apr 28, 2022 at 05:30:38PM +0800, Gene Chen wrote:
> Rob Herring <robh@kernel.org> 於 2022年4月28日 週四 上午2:51寫道:
> >
> > On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> > > From: Gene Chen <gene_chen@richtek.com>
> > >
> > > Add bindings for the Mediatek MT6360
> > >
> > > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > > ---
> > >  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
> > >  1 file changed, 258 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml
> >
> > As I mentioned, I applied your previous version. Please send a patch on
> > top of it adding the child nodes.
> >
> > Rob
> 
> Hi Rob,
> 
>     I try to sync latest code and can't find the mt6360 led fixed patch.
>     Could you please tell me how to get and apply previous version?
>     And should I add a tags in commit message to tell which previous
> commit I based on?

The led fix is in my dt/linus branch and today's linux next.

The mfd patch is in my dt/next branch.

Rob

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360
@ 2022-04-28 13:17         ` Rob Herring
  0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring @ 2022-04-28 13:17 UTC (permalink / raw)
  To: Gene Chen
  Cc: Lee Jones, krzysztof.kozlowski+dt, Matthias Brugger,
	Pavel Machek, devicetree, Linux LED Subsystem,
	linux-arm Mailing List, moderated list:ARM/Mediatek SoC support,
	Linux Kernel Mailing List, Gene Chen, ChiYuan Huang

On Thu, Apr 28, 2022 at 05:30:38PM +0800, Gene Chen wrote:
> Rob Herring <robh@kernel.org> 於 2022年4月28日 週四 上午2:51寫道:
> >
> > On Wed, Apr 27, 2022 at 04:03:30PM +0800, Gene Chen wrote:
> > > From: Gene Chen <gene_chen@richtek.com>
> > >
> > > Add bindings for the Mediatek MT6360
> > >
> > > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > > ---
> > >  .../devicetree/bindings/mfd/mt6360.yaml       | 258 ++++++++++++++++++
> > >  1 file changed, 258 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml
> >
> > As I mentioned, I applied your previous version. Please send a patch on
> > top of it adding the child nodes.
> >
> > Rob
> 
> Hi Rob,
> 
>     I try to sync latest code and can't find the mt6360 led fixed patch.
>     Could you please tell me how to get and apply previous version?
>     And should I add a tags in commit message to tell which previous
> commit I based on?

The led fix is in my dt/linus branch and today's linux next.

The mfd patch is in my dt/next branch.

Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-04-28 13:20 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27  8:03 [PATCH 0/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360 Gene Chen
2022-04-27  8:03 ` Gene Chen
2022-04-27  8:03 ` Gene Chen
2022-04-27  8:03 ` [PATCH 1/2] dt-bindings: leds: Fix binding document for the Mediatek MT6360 LED Gene Chen
2022-04-27  8:03   ` Gene Chen
2022-04-27  8:03   ` Gene Chen
2022-04-27 18:49   ` Rob Herring
2022-04-27 18:49     ` Rob Herring
2022-04-27 18:49     ` Rob Herring
2022-04-27  8:03 ` [PATCH 2/2] dt-bindings: mfd: Add bindings for the Mediatek MT6360 Gene Chen
2022-04-27  8:03   ` Gene Chen
2022-04-27  8:03   ` Gene Chen
2022-04-27 18:51   ` Rob Herring
2022-04-27 18:51     ` Rob Herring
2022-04-27 18:51     ` Rob Herring
2022-04-28  9:30     ` Gene Chen
2022-04-28  9:30       ` Gene Chen
2022-04-28  9:30       ` Gene Chen
2022-04-28 13:17       ` Rob Herring
2022-04-28 13:17         ` Rob Herring
2022-04-28 13:17         ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.