Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp641758rwb; Tue, 29 Nov 2022 03:33:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf5dB9fYO/5esyLGWYGGbLtuLlqwy2W7uJBQtFm/0y6OgOUA2UWi5LVg727rrOviUl/Tlm9j X-Received: by 2002:a63:d407:0:b0:476:e0fc:8d8a with SMTP id a7-20020a63d407000000b00476e0fc8d8amr38435826pgh.145.1669721619942; Tue, 29 Nov 2022 03:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669721619; cv=none; d=google.com; s=arc-20160816; b=kKpIo1chhfGGNatSCJCWKc3t6B30JkSv7cbx0i0GX6ac7wRURnfuin7dZU/g6Y0t56 GrmlQFaXrEIH1njbzMW9qF66NcdEtTzjI7HDk6XLlSdXuk02nSrzXtwjHH5LZA0zKuQc xIRLPmLaX3Sh3ssPGGhsIShEO+wFtnOisK1d3HaXZXVvo0i2TbrK7Ws1W3LQ8Lk60QD+ mTjOcDo1LdPmfVI9jQ6lUnRcg7Tb/RUJ7NlBVfzahOk27BxAFhAj93pLie+IsxVBIFR+ tsBqyzoqQyj8E3VehxzlyayT2tuk8Ob8Q1U/KyrCBRnbKGI7XjQEsHffTE2SuY/cGC3e I9Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=IM6g3FATSrNzA8iQslPJF89O4A1y6uqZppcovPfjakY=; b=E+Ikf8ZmeGe1vbtsWspuJiXVl9iBrcWqD3oXU72zDLEguo37BuO0v2pfasCXGSGUW5 MMw6w24DWD3zVn3cpuig0wiOlOgL5pnRWaXsivwBXLfNmaqmrhB4QF08o58SGUmP6Ct0 wiajw1DgYNPbs85vxMs5ljdUeObgdpomlr/DWTiRS8ZSXIBlLXKXN24uhF9xjQl+YGcz iOJqbZHZ87ychAVvmyzy7xF7WPoUkm+FKEptPo9cxH/i/NR7RoFpbPdFcfEpeOcaHmKe P0H08Z/Nqfb7FtCGehAtpwdsBUlSwraIYlKJfr3zkbJyZOpoMBjHvE5OZNWZT0EhHKtI Jyog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me16-20020a17090b17d000b00218d3ce2332si1545883pjb.163.2022.11.29.03.33.29; Tue, 29 Nov 2022 03:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232134AbiK2Kfk (ORCPT + 83 others); Tue, 29 Nov 2022 05:35:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbiK2KfU (ORCPT ); Tue, 29 Nov 2022 05:35:20 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ADDED24095; Tue, 29 Nov 2022 02:35:18 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 29 Nov 2022 19:35:17 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 1F17D205D902; Tue, 29 Nov 2022 19:35:17 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 29 Nov 2022 19:35:17 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id C711CC1E22; Tue, 29 Nov 2022 19:35:16 +0900 (JST) From: Kunihiko Hayashi To: Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 3/8] dt-bindings: soc: socionext: Add UniPhier peripheral block Date: Tue, 29 Nov 2022 19:35:04 +0900 Message-Id: <20221129103509.9958-4-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129103509.9958-1-hayashi.kunihiko@socionext.com> References: <20221129103509.9958-1-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree binding schema for the peripheral block implemented on Socionext Uniphier SoCs. Peripheral block implemented on Socionext UniPhier SoCs is an integrated component of the peripherals including UART, I2C/FI2C, and SCSSI. Peripheral block has some function logics to control the component. Signed-off-by: Kunihiko Hayashi --- .../socionext,uniphier-perictrl.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml new file mode 100644 index 000000000000..080b6ab3ea1a --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier peripheral block controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + Peripheral block implemented on Socionext UniPhier SoCs is an integrated + component of the peripherals including UART, I2C/FI2C, and SCSSI. + Peripheral block controller is a logic to control the component. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-perictrl + - socionext,uniphier-pro4-perictrl + - socionext,uniphier-pro5-perictrl + - socionext,uniphier-pxs2-perictrl + - socionext,uniphier-ld6b-perictrl + - socionext,uniphier-sld8-perictrl + - socionext,uniphier-ld11-perictrl + - socionext,uniphier-ld20-perictrl + - socionext,uniphier-pxs3-perictrl + - socionext,uniphier-nx1-perictrl + - socionext,uniphier-perictrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@59820000 { + compatible = "socionext,uniphier-ld20-perictrl", + "simple-mfd", "syscon"; + reg = <0x59820000 0x200>; + + clock-controller { + compatible = "socionext,uniphier-ld20-peri-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-peri-reset"; + #reset-cells = <1>; + }; + }; -- 2.25.1