From patchwork Wed Dec 15 00:46:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12696135 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0ABB7C433EF for ; Wed, 15 Dec 2021 00:48:52 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=b9wcLr956JZMuVWm0GSYI6SrKgpzuh6qJ0UFKGZ03xk=; b=vGRTg2o4pC6yMI K6WuXPXG0gIKsieJloQyket3KGFgAMeKGOEP57UoE21U4pBTev0WGhL9a1wRX3Zn3hd/GZ21p/0F8 WjyboBhffWv71qMns4Mq9h5k5IBUXO8sgYLqizkP64SQ5vBqwxpI4BAcN4vNPVDRwEb0MFn+ty1yv 07v/BoOIBnvZRL0P/DgXs9STnO69S/VPizFsqNIRVd0PW5nF1Q0/BhTaXLQdetjV2/RHtEx8pxHxO Ij5ByKtyUJeDGFhlYNZ3oaLV68YlQKpw1Ddt2Nw9zbtuHTnOH8oAmall1mi/yVnuL61PzYPeZIevi sw9aeQVwEMbFL6SEgVjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxIS6-00G9oE-Ga; Wed, 15 Dec 2021 00:47:26 +0000 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxIRT-00G9fG-ML for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 00:46:49 +0000 Received: by mail-il1-x12d.google.com with SMTP id w1so18602900ilh.9 for ; Tue, 14 Dec 2021 16:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wn4y4nOlo3Oeq4CoVpUuRwguDTGRA4xmrBgSN6cvGKk=; b=jZS/DO/BkJGMgBGZnAaN7hMIjK9+fmNDEcuyb3asK05XoVLGInRStpkp5naNeCfxCQ tgeyEnP7+eH5QtYWKjRBabSpl3DKS0ula2BOPfbfZQ5zeUXdC+ME2bAxn7tsqcK8c1Yi 2ofGOqhdU+7a8UqYqOJVxNB3TezzwC/CRkW7O1HiLSG36zFIRn9kpQhU24sK4JyEH3M0 WDrjXwqna3D1ZAzDgUzkQzFO4wXsM7aY4ICE+9GxXIIsqjjcuqA8ic9QhsMGCfDQZabM Wa2Fek+z1leXEJHxsnZqIeIq/NUkR1Cl7dt2WoTy8iuOQCm7HXm/paZlw8yQwRP29pfp mFpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wn4y4nOlo3Oeq4CoVpUuRwguDTGRA4xmrBgSN6cvGKk=; b=vKpujvYrMXI0sRU0+LTrwx6yqtFC5J+Np0i5HkD7Yhnqtm7f5ZXu/OUaKyqptrUm92 nbhadS3r422W0qnizBP56oIS2nRraBE949txbBeLd05LENtoxoEGvpZfdByHqlX2wqe2 COrJevEr78Ds2WJSD2imq2v2CH877XekrAEDV+49F2SLClu92Cs1Lv9KJCWjkl0VNb4b m/5lsLg4MHGnKMdJUca0LmaBr5xsPys9u3iUY6HzSH0DVwpK0u1iCHX/N5xq8S7Rhwn0 wak6JiGV8Ln3o+XvI2yEEWCha7tHvJw2fvanCD4jzpsVny2nNeY7lLA2SvEhq6CgocJ3 r+Qg== X-Gm-Message-State: AOAM532Hg8spxEhSnYxAaZVnvVp7aq5CjpyTWp99+OHOo5tMmQXch2FG Vq+d6NDuYIw+KFvyF7Wnt6yt3TK8oLoN+g== X-Google-Smtp-Source: ABdhPJwpeCFb6K9PUvDwvjpvBflb97s9MjaFWpTH7tCXWTlW46vcfUU3F71Bx/1KVWvrIl2ZDvuDDA== X-Received: by 2002:a05:6e02:1d8c:: with SMTP id h12mr5415515ila.314.1639529206310; Tue, 14 Dec 2021 16:46:46 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8256:b93c:84fb:458b]) by smtp.gmail.com with ESMTPSA id y8sm218857iox.32.2021.12.14.16.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 16:46:45 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: tharvey@gateworks.com, aford@beaconembedded.com, michael@amarulasolutions.com, jagan@amarulasolutions.com, Adam Ford , Rob Herring , Lucas Stach , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V5 4/9] dt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl Date: Tue, 14 Dec 2021 18:46:21 -0600 Message-Id: <20211215004626.2241839-5-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211215004626.2241839-1-aford173@gmail.com> References: <20211215004626.2241839-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211214_164647_754260_BBBF5420 X-CRM114-Status: GOOD ( 11.87 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the DT binding for the i.MX8MN DISP blk-ctrl. Signed-off-by: Adam Ford Reviewed-by: Rob Herring Reviewed-by: Lucas Stach diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml new file mode 100644 index 000000000000..fbeaac399c50 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8MN DISP blk-ctrl + +maintainers: + - Lucas Stach + +description: + The i.MX8MN DISP blk-ctrl is a top-level peripheral providing access to + the NoC and ensuring proper power sequencing of the display and MIPI CSI + peripherals located in the DISP domain of the SoC. + +properties: + compatible: + items: + - const: fsl,imx8mn-disp-blk-ctrl + - const: syscon + + reg: + maxItems: 1 + + '#power-domain-cells': + const: 1 + + power-domains: + minItems: 5 + maxItems: 5 + + power-domain-names: + items: + - const: bus + - const: isi + - const: lcdif + - const: mipi-dsi + - const: mipi-csi + + clocks: + minItems: 11 + maxItems: 11 + + clock-names: + items: + - const: disp_axi + - const: disp_apb + - const: disp_axi_root + - const: disp_apb_root + - const: lcdif-axi + - const: lcdif-apb + - const: lcdif-pix + - const: dsi-pclk + - const: dsi-ref + - const: csi-aclk + - const: csi-pclk + +required: + - compatible + - reg + - power-domains + - power-domain-names + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + disp_blk_ctl: blk_ctrl@32e28000 { + compatible = "fsl,imx8mn-disp-blk-ctrl", "syscon"; + reg = <0x32e28000 0x100>; + power-domains = <&pgc_dispmix>, <&pgc_dispmix>, + <&pgc_dispmix>, <&pgc_mipi>, + <&pgc_mipi>; + power-domain-names = "bus", "isi", "lcdif", "mipi-dsi", + "mipi-csi"; + clocks = <&clk IMX8MN_CLK_DISP_AXI>, + <&clk IMX8MN_CLK_DISP_APB>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, + <&clk IMX8MN_CLK_DSI_CORE>, + <&clk IMX8MN_CLK_DSI_PHY_REF>, + <&clk IMX8MN_CLK_CSI1_PHY_REF>, + <&clk IMX8MN_CLK_CAMERA_PIXEL_ROOT>; + clock-names = "disp_axi", "disp_apb", "disp_axi_root", "disp_apb_root", + "lcdif-axi", "lcdif-apb", "lcdif-pix", "dsi-pclk", + "dsi-ref", "csi-aclk", "csi-pclk"; + #power-domain-cells = <1>; + };