From patchwork Thu Nov 4 16:17:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12603455 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 D06EBC433F5 for ; Thu, 4 Nov 2021 16:21:36 +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 9969761213 for ; Thu, 4 Nov 2021 16:21:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9969761213 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=/gNs6ikJJPfeRfXcNY1i2ENuGx5WxPj2qJUTY6V0gBQ=; b=BFJejXIQnUK1XX AVMe5j6753LiFQhj4du8nHkB9aqTzRNlzA7HlN8V1oVxuXqTA3QIbiUUEDk4zjqEI5fV1Iq5fA/ug UQcZGwxdLpHHU8lqgdx4cEN097pn0TnBbchAqOx18Ur26R2tVZreu5mifvqj/5/zZhKFf73Sm7Pia pOeC0PghlLFb4YFA+gV/APqV3bMhv0a1cBwqnEVaZcwGu7d/fv8ypPvjtoOeGKcc6E0Kjpk96o3OM n9fTFUlcXC5roaT1aExDOTbSOQOiNc1cv6bxCtzNss2OpcSucOahwdxrTRsH/pYR5g7IcZTqOrr64 2Ttp8SF/W3FKt1oGGtaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mifSw-009PvZ-DB; Thu, 04 Nov 2021 16:19:51 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mifRj-009PS1-NM for linux-arm-kernel@lists.infradead.org; Thu, 04 Nov 2021 16:18:37 +0000 Received: by mail-io1-xd2f.google.com with SMTP id r3so6069394iod.6 for ; Thu, 04 Nov 2021 09:18:35 -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=ftr4HvATWA8R2D1hs/XQ6cE+KuTY1wr4XbGAaD8YFZA=; b=AkIpupy0hn2htAB7o2AIrekPD2joEPWdiu89amAoS4yfLbZFOAbOuMqIjm4Lo6oY8C dg97kmwNKgMchd0XoRosLksEy/V9+LHvW0YLLwCtwtyHGUmytGjZKF5D0CPYZM50vlhe xxl94pqJZo7oznuYFa8kK8w1mk2GbtC4+IwM/0e6S03Ntx0CaDey5CFYcDEP7RqANcTP zacoeqHWlfQlb8mpq89ga3n3VLHy325vscwCrXvA/DIoM5IKol3SdC96G/DIC4W2YtCV OiG3V05ujIrI1lahRQ7wm3GTCv/JSbomvTMCjXtnGHtYVy2Ol7GrYaa7LZ4O578zkmIE Ca6Q== 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=ftr4HvATWA8R2D1hs/XQ6cE+KuTY1wr4XbGAaD8YFZA=; b=DINNknRgJGR9Wznl/h7UjhOmmesBdVAYQ861XKgVmW18fkcy5CKoA94LdkJV5lVNhj tX9SWIig3tM8f9/bQGzl/wAKKSoDRwnjEHaFeiCVldv4CjgjglBTn8h5na2aTa1uxiJr PP3HGgmy2qWIGrXXxZdVgQBups3Y7QUaP5GlKcSnulnPDb/BcrYI8I2mEkzdzM34eLAl lF8u6EXckCIG95Z6Ak8I0qjwO29pZ+z4iLR838EfYOPutn+87GU5uIp0cQ52JPDMgcPr nU/L0vusebAvFJRs7X5Mj9JmLb8qcL51+NnUvYJX4t2ZJZH4+jgvOdPraGFbDh5wHIZT hyXQ== X-Gm-Message-State: AOAM530UgtXCNVUGNxWHs0fyRCG+batLDvdvKeq668uxyC2bWIt33pKo iCotRLaU+x+ka5KKjAe0InI6Z4rSO+M= X-Google-Smtp-Source: ABdhPJwZhnwBMuUJaLYXLbet1nMh9x2zCmpzWsi3UpK0KxHASthUEsM6traSMHSoPIVWHRAWo/yU9Q== X-Received: by 2002:a5d:964e:: with SMTP id d14mr36692270ios.45.1636042714523; Thu, 04 Nov 2021 09:18:34 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:e81d:737a:bb84:83ba]) by smtp.gmail.com with ESMTPSA id e17sm3266326iow.18.2021.11.04.09.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 09:18:33 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, ariel.dalessandro@collabora.com, krzk@kernel.org, tharvey@gateworks.com, l.stach@pengutronix.de, devicetree@vger.kernel.org, Adam Ford , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-kernel@vger.kernel.org Subject: [PATCH V3 4/9] dt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl Date: Thu, 4 Nov 2021 11:17:59 -0500 Message-Id: <20211104161804.587250-5-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211104161804.587250-1-aford173@gmail.com> References: <20211104161804.587250-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211104_091835_788996_E9F441C1 X-CRM114-Status: GOOD ( 11.69 ) 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 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>; + };