From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB0F9C12002 for ; Thu, 15 Jul 2021 00:20:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 877F8611AD for ; Thu, 15 Jul 2021 00:20:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 877F8611AD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4MoEurySbR32YzN6cXeepCeFl+lTYLo3o+Ug8vQ0Ktg=; b=u4HpV+ro9dWQIh 9U3fTYFBOFAN9D3lisM0/E9NZaCJ/sOuiSEhrMqYrlAOThkyNhNzDB6hTZ+9PhuUqaw76LZnbpcHK o8pJsyWkTz5AFwhhJkEnFGbTiq7Kfdj7mj340BupVZdK8OQL4/GTWScgq3mZoSoBO910gCdnmudyy qMRjhHLLwU4o0jPhTkPkex6c6AcJL+X6dGF9A+HuW2TA6U9u2961GKuHT1FT+BzY18I4Sp/LbCXym uYO36FcgQdee8kjZX4nC3Q0kRNeGP0reefZoocyM9wRE2ngTfhwy+kYDqrAKchYyksv9jTIxKGUr6 netDsWKEKMBUkoQmre+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3p4e-00Gbm5-CC; Thu, 15 Jul 2021 00:17:56 +0000 Received: from mail-io1-f53.google.com ([209.85.166.53]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3nqS-00G5M6-SE for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 22:59:14 +0000 Received: by mail-io1-f53.google.com with SMTP id k16so4155691ios.10 for ; Wed, 14 Jul 2021 15:59:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KbmmvJeOdCwoGDuIj5l12VzKcZvZF1mWFuwkSqXYzIU=; b=OnzhqfD/67XqIRmGlQVHB5yma8o0a1GHvOs/14tOLQK9aPHnGa5TCwFDtwUmXPuWDC PMqkjG/+SIX/YzZZHXr57Q+PJ/t2EE+v3WmXB5SPnUFh5vx0geWs3s/2oeLTOdx5KwSz TqDaPtjYmDIcu0TUbFvlzRJo1Phg3FhydvOSGLlHCQv+YMgGzFWlr9Qoa05TJPd1B4P4 OI0EC6FxPWLQvJXjheoPcTRW0ohF5HRSajV1YwfQGnjaDeYTh27VMZ3wESidgb8y2RT3 fHwO4BsN/EBE27e8AoU1W2+y+Ft7AneSjOStSp+PpNbo5DfSjk3rZB7Wmib4E8xSWWSg mp+Q== X-Gm-Message-State: AOAM532L1VgPaqZYbBsrRSJm5cTieMVAcd+NnW38khoFNT7SwxWy3Y87 /nQAtDkaimCr2RHN4860PA== X-Google-Smtp-Source: ABdhPJwwXy+4iyS+HLc4HV+QnkK5rCaaq570TtPqkCjQuhoTLFUejfe6LH7FZkoFaPiq9IW/aXVh9A== X-Received: by 2002:a05:6602:2285:: with SMTP id d5mr391182iod.24.1626303552011; Wed, 14 Jul 2021 15:59:12 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id g15sm744716ild.29.2021.07.14.15.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 15:59:11 -0700 (PDT) Received: (nullmailer pid 3697302 invoked by uid 1000); Wed, 14 Jul 2021 22:59:08 -0000 Date: Wed, 14 Jul 2021 16:59:08 -0600 From: Rob Herring To: Jagan Teki Cc: Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Frieder Schrempf , Daniel Vetter , Marek Vasut , Krzysztof Kozlowski , Fabio Estevam , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula Subject: Re: [RFC PATCH 12/17] dt-bindings: display: bridge: samsung,mipi-dsim: Add i.MX8MM support Message-ID: <20210714225908.GA3694990@robh.at.kernel.org> References: <20210704090230.26489-1-jagan@amarulasolutions.com> <20210704090230.26489-13-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210704090230.26489-13-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_155912_991942_1E7E8217 X-CRM114-Status: GOOD ( 20.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Jul 04, 2021 at 02:32:25PM +0530, Jagan Teki wrote: > Samsung MIPI DSIM bridge can also be found in i.MX8MM SoC. > > Add dt-bingings for it. > > Cc: Rob Herring > Signed-off-by: Jagan Teki > --- > .../display/bridge/samsung,mipi-dsim.yaml | 84 ++++++++++++++++++- > 1 file changed, 83 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > index b2970734ffd7..bd12d5706291 100644 > --- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > @@ -26,6 +26,7 @@ properties: > - samsung,exynos5410-mipi-dsi > - samsung,exynos5422-mipi-dsi > - samsung,exynos5433-mipi-dsi > + - fsl,imx8mm-mipi-dsim > > reg: > maxItems: 1 > @@ -39,6 +40,10 @@ properties: > '#size-cells': > const: 0 > > + assigned-clock-parents: true > + assigned-clock-rates: true > + assigned-clocks: true You don't need these. They are always allowed if 'clocks' is present. > + > clocks: > minItems: 2 > maxItems: 5 > @@ -102,7 +107,7 @@ properties: > properties: > endpoint@0: > $ref: /schemas/graph.yaml#/properties/endpoint > - description: sub-node describing the input from MIC > + description: sub-node describing the input from MIC or LCDIF > > unevaluatedProperties: false > > @@ -128,6 +133,30 @@ required: > > allOf: > - $ref: ../dsi-controller.yaml# > + - if: > + properties: > + compatible: > + contains: > + const: fsl,imx8mm-mipi-dsim > + > + then: > + properties: > + clocks: > + minItems: 2 > + > + clock-names: > + items: > + - const: bus_clk > + - const: sclk_mipi > + > + ports: > + required: > + - port@0 > + - port@1 > + > + required: > + - ports > + > - if: > properties: > compatible: > @@ -221,6 +250,59 @@ additionalProperties: > type: object > > examples: > + - | > + #include > + #include > + #include > + #include > + > + dsi@32e10000 { > + compatible = "fsl,imx8mm-mipi-dsim"; > + reg = <0x32e10000 0x400>; > + clocks = <&clk IMX8MM_CLK_DSI_CORE>, > + <&clk IMX8MM_CLK_DSI_PHY_REF>; > + clock-names = "bus_clk", "sclk_mipi"; > + assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>, > + <&clk IMX8MM_VIDEO_PLL1_OUT>, > + <&clk IMX8MM_CLK_DSI_PHY_REF>; > + assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, > + <&clk IMX8MM_VIDEO_PLL1_BYPASS>, > + <&clk IMX8MM_VIDEO_PLL1_OUT>; > + assigned-clock-rates = <266000000>, <594000000>, <27000000>; > + interrupts = ; > + phys = <&mipi_phy 0>; > + phy-names = "dsim"; > + power-domains = <&dispmix_blk_ctl IMX8MM_BLK_CTL_PD_DISPMIX_MIPI_DSI>; > + samsung,burst-clock-frequency = <891000000>; > + samsung,esc-clock-frequency = <54000000>; > + samsung,pll-clock-frequency = <27000000>; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + dsi_in_lcdif: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&lcdif_out_dsi>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + dsi_out_panel: endpoint { > + remote-endpoint = <&panel_in_dsi>; > + }; > + }; > + }; > + }; > + > - | > #include > #include > -- > 2.25.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel