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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8084C433EF for ; Sat, 9 Oct 2021 16:30:10 +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 76CD560F22 for ; Sat, 9 Oct 2021 16:30:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 76CD560F22 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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: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=5sgH724MQVAO2wJOWL3ZH5aEyPE4nM3YPjr15NuuKIw=; b=pDxXQs/wObNdz2 1SVQu2c1qDqa0QS7db2LHkrLILagAGrtzdkU8A1GqmF5R+WdejTW9r+eudDr3hC234HBj3ZvasYKl 9uVAfaJxku5k7JldMHQXluhwX6eddrtJJgC6U2OvXOYJn8mo4swqGd2nAJ2gOXRsrxMo5B3i6ZY/l huAbPQwIVNJqEtfm1kwukfJUYRV90+fcWREmPsacq1UIb2wWDVEg012PH4KEurwOHzCy1wbbupXhr ahUoM0pT6+RNF3Ett6bT8+zjS6zbzhBoNVVBpVejMTMhoyQhHtoiVCcRXKiqXymlBAwdmjCwgzK7C PAR/SWRhqP486gFdGN0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mZFCf-005pU6-AN; Sat, 09 Oct 2021 16:28:05 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mZFC2-005pLN-G6 for linux-arm-kernel@lists.infradead.org; Sat, 09 Oct 2021 16:27:28 +0000 Received: by mail-io1-xd2c.google.com with SMTP id s17so9256534ioa.13 for ; Sat, 09 Oct 2021 09:27:26 -0700 (PDT) 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=oY5+OZjNBJCaCB0Z7I0Y33zoAQCqpXgPwvgbrJrvZAw=; b=TXyMWVEXqafQoA7/2sVCl2maihOG0ssi+o1Y+Vx5etVO6RWFIrsLy9RGUCWQNuAcZM J61AvdZyN2xyoVqFLqj0f4KMfrv4HhCxNKYOyx5G1Krv/MjIScTIQck8wg+lqX1iqhcK huHfMvsu/UtwdGKPkskcdtI0SYD/Sw4e1OItDs2TxYfJ0xzOIxhBuyNQSj+DrVO0LAYr yI7JmvuI6hqo9y2w5bz5ouUlTACd+Vtv07GuJ5sIFvhHbFRMYGz/pIZReV1HgW08kc6k X+eEnJnsDFGux1MXj3S79egmTL4flGUY1OLpS1mlnaOwKCi+jmP2P6V3jjj9z2tm3StG MOrw== 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=oY5+OZjNBJCaCB0Z7I0Y33zoAQCqpXgPwvgbrJrvZAw=; b=iFkk09Qz9+zKtixgDW+yYS5bJwbbJWr4zBr0FkD5Kw9TaDhNg/JYSKcXOpxW+zE8FU eL6c+3Kx4tLXVN9YY3XVTaWFOykgOGCcbcmvisDrc8SaU+I8QnDvVG/RW0pVIaBzgIgy QqVlhUfQHCQ0qZDlGxj+FQwtpDL0sMJGfgv4op51ucQk5kfP5S+8UaATVorTUBlbMnbN XnSHn0PX4lu2FJXLnyxMK4aG7gjQmDIvMm39VMIMusloPTw3vos9MD+YlCd82PJqS6Jq QmJxXuderf73NdqVznDRGw4qaHSPeQWU9OtGnADPx3uxPsebAtJwqde9WFUfvcxXsSXA oJ6Q== X-Gm-Message-State: AOAM530XRiEUs8lqVkuKvvXiC6HGA9FRwxWqa6iyCkHM/A2M5OXc+C3e LCh/AjgDDTOhJzk2zg5gfqqdBpLN3bQ= X-Google-Smtp-Source: ABdhPJwXTHgGRCkyyUXFAutqhaEKGco21ku5vAjbioOvpY2ef4FEUdmNQ//R86lsTpzpcCjatQve7g== X-Received: by 2002:a02:9522:: with SMTP id y31mr511875jah.112.1633796845226; Sat, 09 Oct 2021 09:27:25 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:cb0f:c46c:9a27:ace]) by smtp.gmail.com with ESMTPSA id y5sm1253722ilg.58.2021.10.09.09.27.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Oct 2021 09:27:24 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 4/9] dt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl Date: Sat, 9 Oct 2021 11:26:54 -0500 Message-Id: <20211009162700.1452857-5-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211009162700.1452857-1-aford173@gmail.com> References: <20211009162700.1452857-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211009_092726_565884_C8D464CB X-CRM114-Status: GOOD ( 13.32 ) 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 Add the DT binding for the i.MX8MN DISP blk-ctrl. Signed-off-by: Adam Ford --- .../soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) 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..493b86658ad8 --- /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>; + }; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel