Message ID | 20200225094057.120144-5-jitao.shi@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mt8183 dpi supports dual edge and pin mode swap | expand |
Hi, Jitao: On Tue, 2020-02-25 at 17:40 +0800, Jitao Shi wrote: > Add property "pclk-sample" to config the dpi sample on falling (0), > rising (1), both falling and rising (2). > > Signed-off-by: Jitao Shi <jitao.shi@mediatek.com> > --- > .../devicetree/bindings/display/mediatek/mediatek,dpi.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt > index a7b1b8bfb65e..f362fff51437 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt > @@ -20,6 +20,9 @@ Required properties: > Optional properties: > - pinctrl-names: Contain "gpiomode" and "dpimode". > pinctrl-names see Documentation/devicetree/bindings/pinctrlpinctrl-bindings.txt > +- pclk-sample: 0: sample in falling edge, 1: sample in rising edge, 2: sample > + in both falling and rising edge. The value has been defined in video-interfaces.txt, you need not to define it again. Regards, CK > + pclk-sample see Documentation/devicetree/bindings/media/video-interfaces.txt. > > Example: > > @@ -37,6 +40,7 @@ dpi0: dpi@1401d000 { > > port { > dpi0_out: endpoint { > + pclk-sample = 0; > remote-endpoint = <&hdmi0_in>; > }; > };
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt index a7b1b8bfb65e..f362fff51437 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt @@ -20,6 +20,9 @@ Required properties: Optional properties: - pinctrl-names: Contain "gpiomode" and "dpimode". pinctrl-names see Documentation/devicetree/bindings/pinctrlpinctrl-bindings.txt +- pclk-sample: 0: sample in falling edge, 1: sample in rising edge, 2: sample + in both falling and rising edge. + pclk-sample see Documentation/devicetree/bindings/media/video-interfaces.txt. Example: @@ -37,6 +40,7 @@ dpi0: dpi@1401d000 { port { dpi0_out: endpoint { + pclk-sample = 0; remote-endpoint = <&hdmi0_in>; }; };
Add property "pclk-sample" to config the dpi sample on falling (0), rising (1), both falling and rising (2). Signed-off-by: Jitao Shi <jitao.shi@mediatek.com> --- .../devicetree/bindings/display/mediatek/mediatek,dpi.txt | 4 ++++ 1 file changed, 4 insertions(+)