Message ID | 1531817552-17221-2-git-send-email-mars.cheng@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Jul 17, 2018 at 04:52:22PM +0800, Mars Cheng wrote: > This patch adds the binding documentation for apmixedsys, audsys, camsys, > imgsys, infracfg, mipi0a, topckgen, vcodecsys > > Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> > Signed-off-by: Owen Chen <owen.chen@mediatek.com> > --- > .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 + > .../bindings/arm/mediatek/mediatek,audsys.txt | 1 + > .../bindings/arm/mediatek/mediatek,camsys.txt | 27 ++++++++++++++++++++ > .../bindings/arm/mediatek/mediatek,imgsys.txt | 1 + > .../bindings/arm/mediatek/mediatek,infracfg.txt | 1 + > .../bindings/arm/mediatek/mediatek,mipi0a.txt | 23 +++++++++++++++++ > .../bindings/arm/mediatek/mediatek,mmsys.txt | 1 + > .../bindings/arm/mediatek/mediatek,pericfg.txt | 1 + > .../bindings/arm/mediatek/mediatek,topckgen.txt | 1 + > .../bindings/arm/mediatek/mediatek,vcodecsys.txt | 22 ++++++++++++++++ > 10 files changed, 79 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mipi0a.txt > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vcodecsys.txt > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > index b404d59..44eaeac 100644 > --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > @@ -8,6 +8,7 @@ Required Properties: > - compatible: Should be one of: > - "mediatek,mt2701-apmixedsys" > - "mediatek,mt2712-apmixedsys", "syscon" > + - "mediatek,mt6765-apmixedsys", "syscon" > - "mediatek,mt6797-apmixedsys" > - "mediatek,mt7622-apmixedsys" > - "mediatek,mt8135-apmixedsys" > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt > index 34a69ba..9a8672a 100644 > --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt > @@ -7,6 +7,7 @@ Required Properties: > > - compatible: Should be one of: > - "mediatek,mt2701-audsys", "syscon" > + - "mediatek,mt6765-audsys", "syscon" > - "mediatek,mt7622-audsys", "syscon" > - #clock-cells: Must be 1 > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt > new file mode 100644 > index 0000000..dc75783 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt > @@ -0,0 +1,27 @@ > +MediaTek CAMSYS controller > +============================ > + > +The MediaTek CAMSYS controller provides various clocks to the system. Only clocks? If so, then this should be moved to bindings/clocks/. > + > +Required Properties: > + > +- compatible: Should be one of: > + - "mediatek,mt6765-camsys", "syscon" > +- #clock-cells: Must be 1 > + > +The AUDSYS controller uses the common clk binding from > +Documentation/devicetree/bindings/clock/clock-bindings.txt > +The available clocks are defined in dt-bindings/clock/mt*-clk.h. > + > +Required sub-nodes: > +------- > +For common binding part and usage, refer to > +../sonud/mt2701-afe-pcm.txt. > + > +Example: > + > +camsys: camsys@1a000000 { clock-controller@... if the above answer is yes. Same comments on the other docs.
On Fri, 2018-07-20 at 11:43 -0600, Rob Herring wrote: > On Tue, Jul 17, 2018 at 04:52:22PM +0800, Mars Cheng wrote: > > This patch adds the binding documentation for apmixedsys, audsys, camsys, > > imgsys, infracfg, mipi0a, topckgen, vcodecsys > > > > Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> > > Signed-off-by: Owen Chen <owen.chen@mediatek.com> > > --- > > .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 + > > .../bindings/arm/mediatek/mediatek,audsys.txt | 1 + > > .../bindings/arm/mediatek/mediatek,camsys.txt | 27 ++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,imgsys.txt | 1 + > > .../bindings/arm/mediatek/mediatek,infracfg.txt | 1 + > > .../bindings/arm/mediatek/mediatek,mipi0a.txt | 23 +++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,mmsys.txt | 1 + > > .../bindings/arm/mediatek/mediatek,pericfg.txt | 1 + > > .../bindings/arm/mediatek/mediatek,topckgen.txt | 1 + > > .../bindings/arm/mediatek/mediatek,vcodecsys.txt | 22 ++++++++++++++++ > > 10 files changed, 79 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mipi0a.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vcodecsys.txt > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > index b404d59..44eaeac 100644 > > --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > @@ -8,6 +8,7 @@ Required Properties: > > - compatible: Should be one of: > > - "mediatek,mt2701-apmixedsys" > > - "mediatek,mt2712-apmixedsys", "syscon" > > + - "mediatek,mt6765-apmixedsys", "syscon" > > - "mediatek,mt6797-apmixedsys" > > - "mediatek,mt7622-apmixedsys" > > - "mediatek,mt8135-apmixedsys" > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt > > index 34a69ba..9a8672a 100644 > > --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt > > @@ -7,6 +7,7 @@ Required Properties: > > > > - compatible: Should be one of: > > - "mediatek,mt2701-audsys", "syscon" > > + - "mediatek,mt6765-audsys", "syscon" > > - "mediatek,mt7622-audsys", "syscon" > > - #clock-cells: Must be 1 > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt > > new file mode 100644 > > index 0000000..dc75783 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt > > @@ -0,0 +1,27 @@ > > +MediaTek CAMSYS controller > > +============================ > > + > > +The MediaTek CAMSYS controller provides various clocks to the system. > > Only clocks? If so, then this should be moved to bindings/clocks/. > camsys conclude not only clks but also mtcmos, so it's better to put this node in this path. > > + > > +Required Properties: > > + > > +- compatible: Should be one of: > > + - "mediatek,mt6765-camsys", "syscon" > > +- #clock-cells: Must be 1 > > + > > +The AUDSYS controller uses the common clk binding from > > +Documentation/devicetree/bindings/clock/clock-bindings.txt > > +The available clocks are defined in dt-bindings/clock/mt*-clk.h. > > + > > +Required sub-nodes: > > +------- > > +For common binding part and usage, refer to > > +../sonud/mt2701-afe-pcm.txt. > > + > > +Example: > > + > > +camsys: camsys@1a000000 { > > clock-controller@... > > if the above answer is yes. > > Same comments on the other docs.
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt index b404d59..44eaeac 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt @@ -8,6 +8,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-apmixedsys" - "mediatek,mt2712-apmixedsys", "syscon" + - "mediatek,mt6765-apmixedsys", "syscon" - "mediatek,mt6797-apmixedsys" - "mediatek,mt7622-apmixedsys" - "mediatek,mt8135-apmixedsys" diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt index 34a69ba..9a8672a 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt @@ -7,6 +7,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-audsys", "syscon" + - "mediatek,mt6765-audsys", "syscon" - "mediatek,mt7622-audsys", "syscon" - #clock-cells: Must be 1 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt new file mode 100644 index 0000000..dc75783 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,camsys.txt @@ -0,0 +1,27 @@ +MediaTek CAMSYS controller +============================ + +The MediaTek CAMSYS controller provides various clocks to the system. + +Required Properties: + +- compatible: Should be one of: + - "mediatek,mt6765-camsys", "syscon" +- #clock-cells: Must be 1 + +The AUDSYS controller uses the common clk binding from +Documentation/devicetree/bindings/clock/clock-bindings.txt +The available clocks are defined in dt-bindings/clock/mt*-clk.h. + +Required sub-nodes: +------- +For common binding part and usage, refer to +../sonud/mt2701-afe-pcm.txt. + +Example: + +camsys: camsys@1a000000 { + compatible = "mediatek,mt6765-camsys", "syscon"; + reg = <0 0x1a000000 0 0x1000>; + #clock-cells = <1>; +}; diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt index 868bd51..c7057d0 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt @@ -8,6 +8,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-imgsys", "syscon" - "mediatek,mt2712-imgsys", "syscon" + - "mediatek,mt6765-imgsys", "syscon" - "mediatek,mt6797-imgsys", "syscon" - "mediatek,mt8173-imgsys", "syscon" - #clock-cells: Must be 1 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt index 566f153..ac6aae5 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt @@ -9,6 +9,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-infracfg", "syscon" - "mediatek,mt2712-infracfg", "syscon" + - "mediatek,mt6765-infracfg", "syscon" - "mediatek,mt6797-infracfg", "syscon" - "mediatek,mt7622-infracfg", "syscon" - "mediatek,mt8135-infracfg", "syscon" diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mipi0a.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mipi0a.txt new file mode 100644 index 0000000..ba5ee7a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mipi0a.txt @@ -0,0 +1,23 @@ +Mediatek mipi_rx_ana_csi0a controller +============================ + +The Mediatek mipi_rx_ana_csi0a controller provides various clocks +to the system. + +Required Properties: + +- compatible: Should be one of: + - "mediatek,mt6765-mipi_rx_ana_csi0a", "syscon" +- #clock-cells: Must be 1 + +The vencsys controller uses the common clk binding from +Documentation/devicetree/bindings/clock/clock-bindings.txt +The available clocks are defined in dt-bindings/clock/mt*-clk.h. + +Example: + +mipi_rx_ana_csi0a: mipi_rx_ana_csi0a@11c10000 { + compatible = "mediatek,mt6765-mipi_rx_ana_csi0a", "syscon"; + reg = <0 0x11c10000 0 0x1000>; + #clock-cells = <1>; +}; diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt index 4eb8bbe..184f159 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt @@ -8,6 +8,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-mmsys", "syscon" - "mediatek,mt2712-mmsys", "syscon" + - "mediatek,mt6765-mmsys", "syscon" - "mediatek,mt6797-mmsys", "syscon" - "mediatek,mt8173-mmsys", "syscon" - #clock-cells: Must be 1 diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt index fb58ca8..8eeb84b 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt @@ -9,6 +9,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-pericfg", "syscon" - "mediatek,mt2712-pericfg", "syscon" + - "mediatek,mt6765-pericfg", "syscon" - "mediatek,mt7622-pericfg", "syscon" - "mediatek,mt8135-pericfg", "syscon" - "mediatek,mt8173-pericfg", "syscon" diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt index 24014a7..3a5cad6 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt @@ -8,6 +8,7 @@ Required Properties: - compatible: Should be one of: - "mediatek,mt2701-topckgen" - "mediatek,mt2712-topckgen", "syscon" + - "mediatek,mt6765-topckgen", "syscon" - "mediatek,mt6797-topckgen" - "mediatek,mt7622-topckgen" - "mediatek,mt8135-topckgen" diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vcodecsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vcodecsys.txt new file mode 100644 index 0000000..462889b --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vcodecsys.txt @@ -0,0 +1,22 @@ +Mediatek vcodecsys controller +============================ + +The Mediatek vcodecsys controller provides various clocks to the system. + +Required Properties: + +- compatible: Should be one of: + - "mediatek,mt6765-vcodecsys", "syscon" +- #clock-cells: Must be 1 + +The vencsys controller uses the common clk binding from +Documentation/devicetree/bindings/clock/clock-bindings.txt +The available clocks are defined in dt-bindings/clock/mt*-clk.h. + +Example: + +venc_gcon: venc_gcon@17000000 { + compatible = "mediatek,mt6765-vcodecsys", "syscon"; + reg = <0 0x17000000 0 0x10000>; + #clock-cells = <1>; +};