Re: [RFC 1/2] dt-bindings: add mmio-based syscon mux controller DT bindings

From: Peter Rosin
Date: Thu Apr 20 2017 - 11:02:24 EST


On 2017-04-20 16:50, Philipp Zabel wrote:
> mux: mux-controllers {
> compatible = "mmio-mux";
> #mux-control-cells = <1>;
>
> /* This list is not complete */
> mux-reg-masks = <0x04 0x00080000>, /* MIPI_IPU1_MUX */
> <0x04 0x00100000>, /* MIPI_IPU2_MUX */
> <0x0c 0x0000000c>, /* HDMI_MUX_CTL */
> <0x0c 0x000000c0>, /* LVDS0_MUX_CTL */
> <0x0c 0x0000030c>, /* LVDS1_MUX_CTL */

I hope you mean
<0x0c 0x00000300>, /* LVDS1_MUX_CTL */

:-)

> <0x28 0x00000003>, /* DCIC1_MUX_CTL */
> <0x28 0x0000000c>; /* DCIC2_MUX_CTL */
> };

(BTW, same bug in the other example)

Cheers,
peda