From patchwork Mon Feb 13 18:56:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 56469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2515315wrn; Mon, 13 Feb 2023 10:58:15 -0800 (PST) X-Google-Smtp-Source: AK7set8gb1jywF3UOtbEeTiPB9ln5GQ2oE7QJJH/HiGMvYXij9wyle1aKG0J4Vrmu2FOP4EnfiMv X-Received: by 2002:a17:907:a582:b0:8af:6c2:1e83 with SMTP id vs2-20020a170907a58200b008af06c21e83mr18193263ejc.35.1676314695553; Mon, 13 Feb 2023 10:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676314695; cv=none; d=google.com; s=arc-20160816; b=TifM1kZ/iPLVrjH9krrCXVM0wEUKW/MZIghnAtYRXL7M04VrVzle+RgMV/4N5LhFFl Zspv/VzIR+VuXKmo/QSv5CcQ5qJXaVSXc70WfbQxphXGAgvMOH+CLH34AyEPjrXnfCnp kGMkOckhP9gDdaInFML40P4dikOGHDWaFJjYcJtHw0rmrao7qLg0GzlQ2ooxTuTgsSZ8 saDuiLQLQTn6e7TscLJc/yZfqgX/jJmNtHjok4/LMOA5u6ljhOx2Iqz/5yB+wZ7Dg/IV 2hJIUS6wOvHRGZmpLtgawKJ4OWGt40m3nWINlg4Slx4x9AC9zmMpc3ZfhhfTQzX/Vtlk jBFQ== 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 :dkim-signature; bh=UOvzHsi4N9M3MnVYyLztZqY513qpdpdlMZJ3Ic0lKVY=; b=Ok1CawU1+2FLV864kVh7ofwrsx0FxXZi5/B/ZFyFVn39ZNvMP2bC3UiMNLbSXPshQP XPYRWsX+9PGARMf/9PDw0Ns3WHBiUA1ZDMNYHYxPgED/4nd9GbxYejRkCbaWCJwe/YzM jdhngIKTeI2pf4w/LPz/UKc7aTuzaqTFlX173u4NVqup+dD5OfbspJjk7VGXP4oPm6Kr MTu9Q3ZBwzDkbka8AuyWkR4LFPWVmcDeNW0iWSNLYcblRfSgDz1DbEkL0PHxg9DnB9J/ +krh7yen+nmd9+hiJUJd2M1jgff7tzX4bmbZqEExZazIVmrdiyTLzQvkzAAj8BCSdmVn AeNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=zvTPB0pe; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eu9-20020a170907298900b008af3df2c2c8si14227732ejc.214.2023.02.13.10.57.52; Mon, 13 Feb 2023 10:58:15 -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; dkim=pass header.i=@me.com header.s=1a1hai header.b=zvTPB0pe; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbjBMS5L (ORCPT + 99 others); Mon, 13 Feb 2023 13:57:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjBMS5K (ORCPT ); Mon, 13 Feb 2023 13:57:10 -0500 Received: from pv50p00im-ztdg10012001.me.com (pv50p00im-ztdg10012001.me.com [17.58.6.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42C531EBFB for ; Mon, 13 Feb 2023 10:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676314627; bh=UOvzHsi4N9M3MnVYyLztZqY513qpdpdlMZJ3Ic0lKVY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=zvTPB0peu2K83NjGGwA1qD8vCmc+Vb1n2EF8+YYLF4w4BI2UDEXFzaI+RLCPCvmZX UdObGjatheIGHWXy82ux2WSP8CpfmNYnc5BnBedHydlaqFAFsjqkSjVyo5vsfJhM4k KESn7ayehJBDUGpwV/G3ndN2xgo6+cj8oOKZ2XYBhhwpN8mQtrS+9wR/UWZcAMGYES ttPSyBLQvEY+6Gl3b9ceaVtr+NA/ZNNl4AhSDDFzwiFm2hwBo69A7EB1BKA80gUnDY O1zbjzKhZ4Pm6oewtonoCepPHsCMLoev03s4i0Tuy3IqSxMazHeyznWbbLp2huvsbb RJdPyMiudxYrg== Received: from localhost (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10012001.me.com (Postfix) with ESMTPSA id 6875FA078F; Mon, 13 Feb 2023 18:57:06 +0000 (UTC) From: Alain Volmat To: Rob Herring , Krzysztof Kozlowski , Patrice Chotard Cc: Alain Volmat , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon Date: Mon, 13 Feb 2023 19:56:30 +0100 Message-Id: <20230213185633.15187-2-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230213185633.15187-1-avolmat@me.com> References: <20230213185633.15187-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: wLSgDYnYGT9fJ-ZokXxxoRyvLDmVo37V X-Proofpoint-GUID: wLSgDYnYGT9fJ-ZokXxxoRyvLDmVo37V X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E517=2C18=2E0?= =?utf-8?q?=2E883=2C17=2E11=2E64=2E514=2E0000000_definitions=3D2022-06-21=5F?= =?utf-8?q?08=3A2022-06-21=5F01=2C2022-06-21=5F08=2C2022-02-23=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 adultscore=0 malwarescore=0 mlxscore=0 bulkscore=0 clxscore=1015 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302130166 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757743358236547488?= X-GMAIL-MSGID: =?utf-8?q?1757743358236547488?= Add DT schema of STi platform syscon Signed-off-by: Alain Volmat Reviewed-by: Krzysztof Kozlowski --- v3: correct subject line arm -> soc v2: update wording of commit log reorder compatible enum update example within the binding file .../bindings/soc/sti/st,sti-syscon.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml new file mode 100644 index 000000000000..5f97d9ff17fb --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STi platform sysconfig + +maintainers: + - Patrice Chotard + +description: | + Binding for the various sysconfig nodes used within the STi + platform device-tree to point to some common configuration + registers used by other nodes. + +properties: + compatible: + items: + - enum: + - st,stih407-core-syscfg + - st,stih407-flash-syscfg + - st,stih407-front-syscfg + - st,stih407-lpm-syscfg + - st,stih407-rear-syscfg + - st,stih407-sbc-reg-syscfg + - st,stih407-sbc-syscfg + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscfg_sbc: syscon@9620000 { + compatible = "st,stih407-sbc-syscfg", "syscon"; + reg = <0x9620000 0x1000>; + }; + +...