From patchwork Sun Feb 12 20:51:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 653372 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1913C636D3 for ; Sun, 12 Feb 2023 20:56:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229556AbjBLU4e (ORCPT ); Sun, 12 Feb 2023 15:56:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjBLU4d (ORCPT ); Sun, 12 Feb 2023 15:56:33 -0500 X-Greylist: delayed 313 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 12 Feb 2023 12:56:32 PST Received: from st43p00im-ztfb10061701.me.com (st43p00im-ztfb10061701.me.com [17.58.63.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0D6DF75D for ; Sun, 12 Feb 2023 12:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676235082; bh=2cJAWB/7Hi9YuRLupffkQdyTGuHN5QxKkQbV6A+JkRs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=R/gJyNSL5R5ROg8O/RHydged4LhOK1puMb85uQv2TjRqYhnkS10lfO+l0Wr7UWQWX ALiymgqbMGhdurogK63SLmM+I1MHDtbpEa96ziu+y0mDdiLR4Mss6uvMmGwQr+lXNR jLxF+4k3tZfc8ObdugHa5mRDLD7yQRcIUqD7ZocwdH/iv9tWdTavQeWlKAOQQOEyA6 KENMlc1BrEVzCPxIiWUArAUg3gB0EboZACtILNUu6JXyHmWRzR+keckuDFjuBJ0e3q CO0kEZQm9wE5yCBlxMhkBNtwM1sDzRjeK5x+BQBcnLYv0Hsviyw6b8GvNgpBFYsMRs f/nC6LwW8H7eg== Received: from localhost (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-ztfb10061701.me.com (Postfix) with ESMTPSA id 6DE922E0325; Sun, 12 Feb 2023 20:51:21 +0000 (UTC) From: Alain Volmat To: Rob Herring , Krzysztof Kozlowski , Patrice Chotard Cc: Alain Volmat , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: arm: sti: add STi platform syscon Date: Sun, 12 Feb 2023 21:51:06 +0100 Message-Id: <20230212205107.8073-2-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230212205107.8073-1-avolmat@me.com> References: <20230212205107.8073-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: AQLAym5I_tnGk3-vc5eM_UNaGwNocej8 X-Proofpoint-GUID: AQLAym5I_tnGk3-vc5eM_UNaGwNocej8 X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E883=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-06-21=5F?= =?utf-8?q?08=3A2020-02-14=5F02=2C2022-06-21=5F08=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302120192 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add DT schema of STi platform syscon Signed-off-by: Alain Volmat --- 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>; + }; + +... From patchwork Sun Feb 12 20:51:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 652999 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BCB8C636D3 for ; Sun, 12 Feb 2023 20:58:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbjBLU6J (ORCPT ); Sun, 12 Feb 2023 15:58:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjBLU6H (ORCPT ); Sun, 12 Feb 2023 15:58:07 -0500 Received: from st43p00im-zteg10062001.me.com (st43p00im-zteg10062001.me.com [17.58.63.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EE99EB43 for ; Sun, 12 Feb 2023 12:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1676235084; bh=iXPcVESiYpddzMqQnxfdfMRMU7vmmNrIn9723DUGq8A=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Vy9WVgzunfB0tOLJBAwzisUOV4YPs4KQY90BgTdURkPntZywp56SDdR8WCFEMfwTU +Pcj1Mmt+TLA9iWf+KFnRfwH1wCqsZlAMChukn44G3Lq+3dRYZjuFyAhFLMV1D+XQp C1bLqRRr3n1ST0OvWSF5NdVMraGGZ8dvRTBV58vItQSnDnZbGNLiMh7H1AMXxpN8j7 oT1x4R/GWHXkPIpGcunu1Eh3Lxau39I5cH5CIw5D2PWTiMQOR2sAtGOEE6gTrZ+rqR lFFEhrd6CsfUYasGz9qNIeml8+IxfFuiIiTbnwTZCXI3urR9gjX8ltR3LKhZFPu767 KVYOxSRkcb0tw== Received: from localhost (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-zteg10062001.me.com (Postfix) with ESMTPSA id 0514A8006C7; Sun, 12 Feb 2023 20:51:23 +0000 (UTC) From: Alain Volmat To: Rob Herring , Krzysztof Kozlowski , Patrice Chotard Cc: Alain Volmat , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: arm: sti: add sti boards and remove stih415/stih416 Date: Sun, 12 Feb 2023 21:51:07 +0100 Message-Id: <20230212205107.8073-3-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230212205107.8073-1-avolmat@me.com> References: <20230212205107.8073-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: dPMAEenNzL_QBXhyqmDAMoAzQ-2KAPFY X-Proofpoint-ORIG-GUID: dPMAEenNzL_QBXhyqmDAMoAzQ-2KAPFY X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E816=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-01-17=5F?= =?utf-8?q?04=3A2022-01-14=5F01=2C2022-01-17=5F04=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=975 malwarescore=0 adultscore=0 spamscore=0 mlxscore=0 suspectscore=0 clxscore=1015 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302120192 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add bindings for STi platform boards and remove stih415/stih416 items. This commit also moves the sti.yaml binding file into soc/sti folder Signed-off-by: Alain Volmat --- v2: update licensing move file into soc/sti folder .../devicetree/bindings/arm/sti.yaml | 26 --------------- .../devicetree/bindings/soc/sti/sti.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/sti.yaml create mode 100644 Documentation/devicetree/bindings/soc/sti/sti.yaml diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml deleted file mode 100644 index 3ca054c64377..000000000000 --- a/Documentation/devicetree/bindings/arm/sti.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sti.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST STi Platforms - -maintainers: - - Patrice Chotard - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - st,stih415 - - st,stih416 - - st,stih407 - - st,stih410 - - st,stih418 - -additionalProperties: true - -... diff --git a/Documentation/devicetree/bindings/soc/sti/sti.yaml b/Documentation/devicetree/bindings/soc/sti/sti.yaml new file mode 100644 index 000000000000..f32770867142 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sti/sti.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sti/sti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST STi Platforms + +maintainers: + - Patrice Chotard + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - const: st,stih407-b2120 + - const: st,stih407 + - items: + - enum: + - st,stih410-b2120 + - st,stih410-b2260 + - const: st,stih410 + - items: + - enum: + - st,stih418-b2199 + - st,stih418-b2264 + - const: st,stih418 + +additionalProperties: true + +...