| Message ID | 20191231130528.20669-7-jagan@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBRMPVXYAKGQEUEA4CAI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id ADC683F077 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 31 Dec 2019 14:06:14 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id v14sf26266832pfm.21 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 31 Dec 2019 05:06:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577797573; cv=pass; d=google.com; s=arc-20160816; b=Eknktcu+7ZKUSB1wCc+EmPr2GO5F8gXcL8BPKB29qh5sBtflKC7tBGERpRkYOSrezk ATdMMfnZLSZ3SkfBBlKgsRi2cwWgDhZ0Gl/UYS8IQ1Df9cH2Y8p6hQQlLBU11isbhsXr FtGY97wq/jgUfwZrO7R0xmVrGI602ul7Fh4FtL4ndKKf8tyGaqBqbhgiQwJoc05YN2pT rqC2MTMgneDhbthf6opOtx4eITRO32SCeFXlkBL+n5oDeGjhIvvBNnRPeEquTYWb9Qg2 JWzpUQ3robONR5iqirycQBm+VJwalDJ6QKONAHENPdkea3ZtBTSPzmWB4pJuj8JB8+Xn Nsaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=zRJoStShKGMlzgG8AQa9Dp1yTMWsGzI3kHrWKzyvqwU=; b=Ye6OBrDMj78G0wsITstKTQbDrx5INCONdr+G2oKWoMAQQUgVfjd1F1bArPssWSLCuw MRvz+I1RBHzLCi/qDjBh4ahAY5ajo6WMYR49Lqh8f/50smv7pqJIj8ZxMo/Nma7AsdCN 5CO91DNzaQGYBuMYpeH15JzDVqo8AwaYHPVQ8Gptl5KKF52RppcMfKEgS67sdpxLoBGi O+/l88hTavm4PVIRmcE9n4ZA4FR1uB+/AHgpVwc/ts+dosV2hh+EkNm/R7I9xpqyjPuu DKpyJBMBxOWNpbahNH7O7jrpc44dxIxjXrB9jrUE15krWdgCl5e0HeSACppy26hU6r2F mDhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=esmTNuuA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=zRJoStShKGMlzgG8AQa9Dp1yTMWsGzI3kHrWKzyvqwU=; b=dnM95VXneyhM5dMbSWN0UWhfzKC2MOfJ5F9ZR39Q9MA/i/1J3gWSn/wb+IUcZqSlVR ivmz+IylhL0ehb8pRw3idaYKm7w6e9+jm79EXDGhA271RAzibnymfoaqUam7Hn39ZHsO GaK01lnYyX3mun2w7XwyTMZWQ7Zjm/unMX32c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=zRJoStShKGMlzgG8AQa9Dp1yTMWsGzI3kHrWKzyvqwU=; b=hkOdhBySbvRVoIygVrWOSaRA34y0xi6l468y0/fHYhzMLSE2NZreD54SbnoftqqGn9 z/jxGkI7fhkAREFb+tsiTOTyn9DPHH7KiWil5VTksUAr49j5Er1QKyI9J/+3u7NjmkRp eZ0hA+OWJuComOWmdDE9Wq49abNtQLms95hNi/TBJ1Yl4j+h5M+LfDYZpGgENfqroWXu sHV6tUPz82AiAmbapFr3DviXXVr61tCZ2ijJP9pOiEc8IpMimHkhZaMXN8WekZ4ur8Ea UN2oonQg3vULmWQwD47en7F290XsPQ8hUWSh/RY6bhk7bJuCQQ5rAyAMcDL4g0KnsIDu 2IhQ== X-Gm-Message-State: APjAAAUQVxmFEZRlWSXZG2TsAnJMw7Mfy5/Y4J2y/fZzr1g7NRfVEI+j aqzTY/7DJ8nJIDVLgJlHONauVjXP X-Google-Smtp-Source: APXvYqx6yAO2ltdVK8kAvkDDbIOiODnJ0fLxaPgvARfkfRES8Yss25LFVCt5yqOzwq56voNy+QdBig== X-Received: by 2002:a63:1210:: with SMTP id h16mr76993783pgl.171.1577797573476; Tue, 31 Dec 2019 05:06:13 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:6483:: with SMTP id y125ls7871955pfb.9.gmail; Tue, 31 Dec 2019 05:06:13 -0800 (PST) X-Received: by 2002:a62:a515:: with SMTP id v21mr77926460pfm.128.1577797572924; Tue, 31 Dec 2019 05:06:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577797572; cv=none; d=google.com; s=arc-20160816; b=V1YOKld3IKtaayElLlnbK0oWB33QC0PnkZp3dUGjYzn7wbmgeZHCYA5xZHyimYAMmj yZawXGCcgsejK22DyzsFDY4cfjfeKoGCKEP1N+lTS495ikV9mEldNBB/UYepro/rAX4V AL9LnSO4C90Jt/S1E+we0wsSRb1em4Ax6OeMTsDf/cZJGgdcLXNzBXr6oFc5zv/bCKLc +X0KRsukNGie+baty0OM7kdYUvazqXma5YEq4Tvt+JPjeZ8xjcSx9x1DTnFe8/dK3U0N VY7HQ5qaXkuJR+juz0Uu2Mq/L5CYzE+Ut3xmbdmCmYcQ5uvDht1YcGthDg4nG0+0lMoL DEtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=LFRfv913MOD9bDVjn2WmuUvuBCX9q57n4nZIprY3VlY=; b=N6uaU21XLDQ1aakonWj7zM3yaQ5CqQMlJgw038uOTwkMkgH10GO9Ne2dfGGGf5Hli6 v3BADM/8nqV59Rl20JmMPQ9dNCmm1iIBdzPN/5d/Cd91OcNXFMkbWb5KtkyVxLq1kUDm DEz0/bWyMhpg9zW53fHdBMoND5CxKyqKS15BplN/oVRhZiR0qIRJ2tY+pSRJlMn25Sup /ohQuAxgnAr5dCvv5108x5YzG7kPEknzOhe2q/5s4qwUGhiNxDQs46hPbsOamYA6/ln2 pUTUyd1NQN7CnH7EZ1Qy3sQIorjM/L2bGFlFYaB93PqbnKkj/mqQJw3DytjHFFBv0k96 BRnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=esmTNuuA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u3sor42804217plq.53.2019.12.31.05.06.12 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 31 Dec 2019 05:06:12 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:b68c:: with SMTP id c12mr40694609pls.160.1577797572591; Tue, 31 Dec 2019 05:06:12 -0800 (PST) Received: from localhost.localdomain ([49.206.202.115]) by smtp.gmail.com with ESMTPSA id i3sm55204089pfg.94.2019.12.31.05.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Dec 2019 05:06:12 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@siol.net>, Rob Herring <robh+dt@kernel.org> Cc: David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Mark Rutland <mark.rutland@arm.com>, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi <linux-sunxi@googlegroups.com>, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v3 6/9] dt-bindings: sun6i-dsi: Add R40 DPHY compatible (w/ A31 fallback) Date: Tue, 31 Dec 2019 18:35:25 +0530 Message-Id: <20191231130528.20669-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191231130528.20669-1-jagan@amarulasolutions.com> References: <20191231130528.20669-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=esmTNuuA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
drm/sun4i: Allwinner R40 MIPI-DSI support
|
|
Commit Message
Jagan Teki
Dec. 31, 2019, 1:05 p.m. UTC
The MIPI DSI PHY controller on Allwinner R40 is similar
on the one on A31.
Add R40 compatible and append A31 compatible as fallback.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v3:
- update the binding in new yaml format
.../devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On Tue, Dec 31, 2019 at 06:35:25PM +0530, Jagan Teki wrote: > The MIPI DSI PHY controller on Allwinner R40 is similar > on the one on A31. > > Add R40 compatible and append A31 compatible as fallback. > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > --- > Changes for v3: > - update the binding in new yaml format > > .../devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml > index 8841938050b2..0c283fe79402 100644 > --- a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml > +++ b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml > @@ -18,6 +18,7 @@ properties: > oneOf: > - const: allwinner,sun6i-a31-mipi-dphy > - items: > + - const: allwinner,sun8i-r40-mipi-dphy > - const: allwinner,sun50i-a64-mipi-dphy > - const: allwinner,sun6i-a31-mipi-dphy This isn't doing what you say it does. Here you're stating that there's two valid values, one that is a single element allwinner,sun6i-a31-mipi-dphy, and another which is a list of three elements allwinner,sun8i-r40-mipi-dphy, allwinner,sun50i-a64-mipi-dphy and allwinner,sun6i-a31-mipi-dphy, in that order. Did you run make dtbs_check and dt_bindings_check? Maxime
On Thu, Jan 2, 2020 at 4:33 PM Maxime Ripard <mripard@kernel.org> wrote: > > On Tue, Dec 31, 2019 at 06:35:25PM +0530, Jagan Teki wrote: > > The MIPI DSI PHY controller on Allwinner R40 is similar > > on the one on A31. > > > > Add R40 compatible and append A31 compatible as fallback. > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > --- > > Changes for v3: > > - update the binding in new yaml format > > > > .../devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml > > index 8841938050b2..0c283fe79402 100644 > > --- a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml > > +++ b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml > > @@ -18,6 +18,7 @@ properties: > > oneOf: > > - const: allwinner,sun6i-a31-mipi-dphy > > - items: > > + - const: allwinner,sun8i-r40-mipi-dphy > > - const: allwinner,sun50i-a64-mipi-dphy > > - const: allwinner,sun6i-a31-mipi-dphy > > This isn't doing what you say it does. > > Here you're stating that there's two valid values, one that is a > single element allwinner,sun6i-a31-mipi-dphy, and another which is a > list of three elements allwinner,sun8i-r40-mipi-dphy, > allwinner,sun50i-a64-mipi-dphy and allwinner,sun6i-a31-mipi-dphy, in > that order. I got it Maxime, thanks for pointing this. > > Did you run make dtbs_check and dt_bindings_check? I sure I didn't, thanks for the clue. Will do this on another patch as well. Jagan.
diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml index 8841938050b2..0c283fe79402 100644 --- a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml +++ b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml @@ -18,6 +18,7 @@ properties: oneOf: - const: allwinner,sun6i-a31-mipi-dphy - items: + - const: allwinner,sun8i-r40-mipi-dphy - const: allwinner,sun50i-a64-mipi-dphy - const: allwinner,sun6i-a31-mipi-dphy