From patchwork Wed Mar 27 19:11:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607302 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8180B13E043; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; cv=none; b=TaXZG6Kb+odw1UZJWlc4rzf/17hXU0NOFLN43zFORZWMszSfRxD+u8gPmx+HE+lkOlnmop3RcbdCJE3+2OC8OP2T/CVcCxEgKIwiQOVuJyGXRGQN9g0YjXGyUMMgtVPxiHPPP0qsOv8UlsoIpV4L3uzn4JB1lFUhXiEm3AzszsY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; c=relaxed/simple; bh=BOiUDY1X5fzeGOqE1IIej5iszJIV6a41YoYson7zgZE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fyMBy3g/rXFjbbqA9h6qDu4507RlB6fwauAp5teJezSryQ1ghQ/ORIqSJe081InqgetrbGtTj33xU7yafwsb8Of5aBOCEB2QmXBc+yGDdc/Lqa3f+R/eazFGZgUWPiBIkxuB83eGKSsEW4l6WjFIMQQPZ4l9Du+sdmW+2URQhsI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1395C433F1; Wed, 27 Mar 2024 19:11:49 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id AA64D1060704; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:32 +0100 Subject: [PATCH v2 1/7] dt-bindings: hsi: hsi-client: convert to YAML Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-1-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4296; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=BOiUDY1X5fzeGOqE1IIej5iszJIV6a41YoYson7zgZE=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9xveG5FkVLMTBd0NfOMim9KvuljtMYjGmro ExRuuz6eEiJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcQAKCRDY7tfzyDv6 muYSD/9911Opo8umunu4+xNuQwSXbmunqYpyPswxPiHkliaQhMq7fXNUvZJsVVAXLtYGrAvjY9A KXX1XJMwiIlrTVnPFStvwDJj0aAjTUYb1YB1zBp4cDCCLpH9se2joREXspawEzCxeXBgbkexaat N82IJ1ZCxIz68CH6zNywh+ZiAheb+E7/29iLRAqkAViUndWIvIXaO3Eal+1xrbRQIJGtl8h8kzx s9eyOaxfi9eBn/hyz2QlGVsS6jxQpTsyCQ/8kbJff1xwRrmSsV/w57JsAPWVE4C+FpAAUoaYiOT Am4vDVamhRlpnOT/lW7DfX3mlYD9E4VoNmzFZrXKIUfhv3iowAT20JaCc4Zquf+bzShn7LXZzRS GipF245CyoGD+Ib9feOgabN/8mGsZRjAwd5E/EvEP9tVhYHX2Pd/gVLxe6vLBhFQ4RUZed/IW11 Im0qkpIR+cW4R9pzGvCGw3/H4Hb+qlpXgzjzjju6P+AGOQNyhOisngOF1KYvq1HBlLvYEten9ps 1gEvhFH1XYLU753N+xvlu7El4mMuhbt0FsxMWQ1GKC7n74eLjnekse/K6oDvT/sQkuWp8sxxcNy sUYezIArQPGDXXUck5jo5znKIepbswhg8YF0ntS8OTHQuIHs+eJXPhmpe+Ms4YZlzmntLecQwVl s1Pn4bOifNCbM1Q== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A Convert the legacy txt binding to modern YAML and rename from client-devices to hsi-client. Also the example got dropped, since this is a shared schema. No semantic change in the binding itself. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/hsi/client-devices.txt | 44 ------------ .../devicetree/bindings/hsi/hsi-client.yaml | 81 ++++++++++++++++++++++ 2 files changed, 81 insertions(+), 44 deletions(-) diff --git a/Documentation/devicetree/bindings/hsi/client-devices.txt b/Documentation/devicetree/bindings/hsi/client-devices.txt deleted file mode 100644 index 104c9a3e57a4..000000000000 --- a/Documentation/devicetree/bindings/hsi/client-devices.txt +++ /dev/null @@ -1,44 +0,0 @@ -Each HSI port is supposed to have one child node, which -symbols the remote device connected to the HSI port. The -following properties are standardized for HSI clients: - -Required HSI configuration properties: - -- hsi-channel-ids: A list of channel ids - -- hsi-rx-mode: Receiver Bit transmission mode ("stream" or "frame") -- hsi-tx-mode: Transmitter Bit transmission mode ("stream" or "frame") -- hsi-mode: May be used instead hsi-rx-mode and hsi-tx-mode if - the transmission mode is the same for receiver and - transmitter -- hsi-speed-kbps: Max bit transmission speed in kbit/s -- hsi-flow: RX flow type ("synchronized" or "pipeline") -- hsi-arb-mode: Arbitration mode for TX frame ("round-robin", "priority") - -Optional HSI configuration properties: - -- hsi-channel-names: A list with one name per channel specified in the - hsi-channel-ids property - - -Device Tree node example for an HSI client: - -hsi-controller { - hsi-port { - modem: hsi-client { - compatible = "nokia,n900-modem"; - - hsi-channel-ids = <0>, <1>, <2>, <3>; - hsi-channel-names = "mcsaab-control", - "speech-control", - "speech-data", - "mcsaab-data"; - hsi-speed-kbps = <55000>; - hsi-mode = "frame"; - hsi-flow = "synchronized"; - hsi-arb-mode = "round-robin"; - - /* more client specific properties */ - }; - }; -}; diff --git a/Documentation/devicetree/bindings/hsi/hsi-client.yaml b/Documentation/devicetree/bindings/hsi/hsi-client.yaml new file mode 100644 index 000000000000..9c8d6887e840 --- /dev/null +++ b/Documentation/devicetree/bindings/hsi/hsi-client.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hsi/hsi-client.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HSI bus peripheral + +description: + Each HSI port is supposed to have one child node, which + symbols the remote device connected to the HSI port. + +maintainers: + - Sebastian Reichel + +properties: + hsi-channel-ids: + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 8 + + hsi-channel-names: + minItems: 1 + maxItems: 8 + + hsi-rx-mode: + enum: [stream, frame] + description: Receiver Bit transmission mode + + hsi-tx-mode: + enum: [stream, frame] + description: Transmitter Bit transmission mode + + hsi-mode: + enum: [stream, frame] + description: + May be used instead hsi-rx-mode and hsi-tx-mode if the + transmission mode is the same for receiver and transmitter. + + hsi-speed-kbps: + description: Max bit transmission speed in kbit/s + $ref: /schemas/types.yaml#/definitions/uint32 + + hsi-flow: + enum: [synchronized, pipeline] + description: RX flow type + + hsi-arb-mode: + enum: [round-robin, priority] + description: Arbitration mode for TX frame + +additionalProperties: true + +required: + - compatible + - hsi-channel-ids + - hsi-speed-kbps + - hsi-flow + - hsi-arb-mode + +oneOf: + - required: + - hsi-mode + - required: + - hsi-rx-mode + - hsi-tx-mode + +allOf: + - if: + required: + - hsi-mode + then: + properties: + hsi-rx-mode: false + hsi-tx-mode: false + - if: + required: + - hsi-rx-mode + then: + properties: + hsi-mode: false From patchwork Wed Mar 27 19:11:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607305 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6BFA152187; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; cv=none; b=cf3jpDlWZOYPHULPhr3ux6ARWFsBdauTJv1HuMaJwsbV6az1I0yXYge8qCuduxeXOR6SaXYBVhyHqhmWFmNG/yusGc19D963zl5sUEa126eBdigkCF6yrWSyMGaYRrLJH+EreNwUCTLpIcnNETY9EHLH8XfaN2oo5HZjI9ae4EM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; c=relaxed/simple; bh=tIFCfgf+3D7TdIVE0ZdE2tSE7iH4jRinyIvff5gv8yI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SbM+Ltj5QyYlzdFuBj9d70OZCxdlAGpzEhOnm7leiCQsZHTZkeujWbOdOyDDjfmkp+A7+/CPwP+safe8j+X8FS8rfQVo88SW0PF2z7Df7A9Z6zhUiwVshIsDU5l/1Xe+/nsbcuc4FKA6ZGNBrNiOOEAq5Z8zCE6UnsuEk8EeOoI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48E9AC43601; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id AB94A1060992; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:33 +0100 Subject: [PATCH v2 2/7] dt-bindings: hsi: nokia-modem: convert to YAML Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-2-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5307; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=tIFCfgf+3D7TdIVE0ZdE2tSE7iH4jRinyIvff5gv8yI=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9xESFLsmU9PrlmwWaBhkW2IWl5iC4Fx4xWa BAk/X+EN3uJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcQAKCRDY7tfzyDv6 ms/0D/9PM/pXIrq5uR+J+47qLOAobSWIVB4frfxUJB+0Ej5YCe0AyDv7zCUHM8znJZCB04xrwwW /AF/+6gcgOqBWSY+jgHecpyw3teLyR6r10dCEP48oOwDHJVzS47VXdI9jx1P98PIHpZyHegv9dX iTiCDd3tR3GOkWd6WktrW4U5IW8pia6MFT22PlNncCsz7bv1YoUnujod9dnSECOlGmZ1FBTcOlP Xj63u2HfqKyi/c9jzwda/mIrfRSylybCYs3N766lfs23PAbGUXphMwEXU+6X0EWK8PSiO3oY1QI w6yjeXEuvI+Ot1sSyCeNboZpjSGppEwKYEnGRxKg0mTlA1jbnmIRn/oHmA7/FVEaCkQCE0OcnCp UTotJ6U/5MB3mCExcQByBaSg2gLIEGcpixYOAXjUTw2P7fBgTe9PLp4Cbru54L49qEsFfWlBMew TuLhLAzQ5MXxB0ELSCNlrYVZUP1NWZ0sSS7WPn6qcvwOb7pnAaF54x7CU6MFM/ASGneNHn1jKjx VZmi1Yl/0cD53FZGnQrRd8hbjnj0vfLT64UNEEXBozAd5ge2JdWifWKuO9jw6dNGgaOlmchbo82 dYGM93WS1QqxzjLCtwKQ62bTf1fr2FfWOdzE54b7uU3gnvSnk+IbTO2QqP2rmqhGaIPBu9xQl2v dXWiSb9gYKwf8Zw== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A Convert the legacy txt binding to modern YAML. No semantic change. Signed-off-by: Sebastian Reichel Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/hsi/nokia,modem.yaml | 106 +++++++++++++++++++++ .../devicetree/bindings/hsi/nokia-modem.txt | 59 ------------ 2 files changed, 106 insertions(+), 59 deletions(-) diff --git a/Documentation/devicetree/bindings/hsi/nokia,modem.yaml b/Documentation/devicetree/bindings/hsi/nokia,modem.yaml new file mode 100644 index 000000000000..f6d5e2c14329 --- /dev/null +++ b/Documentation/devicetree/bindings/hsi/nokia,modem.yaml @@ -0,0 +1,106 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hsi/nokia,modem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nokia modem + +maintainers: + - Sebastian Reichel + +properties: + compatible: + enum: + - nokia,n900-modem + - nokia,n950-modem + - nokia,n9-modem + + hsi-channel-ids: + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 4 + maxItems: 4 + + hsi-channel-names: + items: + - const: mcsaab-control + - const: speech-control + - const: speech-data + - const: mcsaab-data + + interrupts: + items: + - description: modem reset indication + + gpios: + minItems: 3 + maxItems: 5 + + gpio-names: + items: + - const: cmt_apeslpx + - const: cmt_rst_rq + - const: cmt_en + - const: cmt_rst + - const: cmt_bsi + minItems: 3 + +required: + - gpios + - gpio-names + - interrupts + +allOf: + - $ref: hsi-client.yaml# + - if: + properties: + compatible: + contains: + enum: + - nokia,n950-modem + - nokia,n9-modem + then: + properties: + gpios: + maxItems: 3 + gpio-names: + maxItems: 3 + else: + properties: + gpios: + minItems: 5 + gpio-names: + minItems: 5 + +unevaluatedProperties: false + +examples: + - | + #include + #include + modem { + compatible = "nokia,n900-modem"; + + hsi-channel-ids = <0>, <1>, <2>, <3>; + hsi-channel-names = "mcsaab-control", + "speech-control", + "speech-data", + "mcsaab-data"; + hsi-speed-kbps = <55000>; + hsi-mode = "frame"; + hsi-flow = "synchronized"; + hsi-arb-mode = "round-robin"; + + interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; + + gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, + <&gpio3 9 GPIO_ACTIVE_HIGH>, + <&gpio3 10 GPIO_ACTIVE_HIGH>, + <&gpio3 11 GPIO_ACTIVE_HIGH>, + <&gpio5 29 GPIO_ACTIVE_HIGH>; + gpio-names = "cmt_apeslpx", + "cmt_rst_rq", + "cmt_en", + "cmt_rst", + "cmt_bsi"; + }; diff --git a/Documentation/devicetree/bindings/hsi/nokia-modem.txt b/Documentation/devicetree/bindings/hsi/nokia-modem.txt deleted file mode 100644 index 53de1d9d0b95..000000000000 --- a/Documentation/devicetree/bindings/hsi/nokia-modem.txt +++ /dev/null @@ -1,59 +0,0 @@ -Nokia modem client bindings - -The Nokia modem HSI client follows the common HSI client binding -and inherits all required properties. The following additional -properties are needed by the Nokia modem HSI client: - -Required properties: -- compatible: Should be one of - "nokia,n900-modem" - "nokia,n950-modem" - "nokia,n9-modem" -- hsi-channel-names: Should contain the following strings - "mcsaab-control" - "speech-control" - "speech-data" - "mcsaab-data" -- gpios: Should provide a GPIO handler for each GPIO listed in - gpio-names -- gpio-names: Should contain the following strings - "cmt_apeslpx" (for n900, n950, n9) - "cmt_rst_rq" (for n900, n950, n9) - "cmt_en" (for n900, n950, n9) - "cmt_rst" (for n900) - "cmt_bsi" (for n900) -- interrupts: Should be IRQ handle for modem's reset indication - -Example: - -&ssi_port { - modem: hsi-client { - compatible = "nokia,n900-modem"; - - pinctrl-names = "default"; - pinctrl-0 = <&modem_pins>; - - hsi-channel-ids = <0>, <1>, <2>, <3>; - hsi-channel-names = "mcsaab-control", - "speech-control", - "speech-data", - "mcsaab-data"; - hsi-speed-kbps = <55000>; - hsi-mode = "frame"; - hsi-flow = "synchronized"; - hsi-arb-mode = "round-robin"; - - interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */ - - gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */ - <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */ - <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */ - <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */ - <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */ - gpio-names = "cmt_apeslpx", - "cmt_rst_rq", - "cmt_en", - "cmt_rst", - "cmt_bsi"; - }; -}; From patchwork Wed Mar 27 19:11:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607304 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B29601514F7; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; cv=none; b=YwB/v5aYVlquUEg1ymUM+H15KkObmfPdkYbavnWMZ/JTi4+hcZFJrznGCtWgyck8J4SCYR6EhE6ZpwSOIb96EGYAJFwJV7W3rLLJZ7oTrGFuEojFeXjkR212a3A8nNLWmJ+vEiq0ol2pyU3b8xz90+ATdyJdv+IhvP2fDKcNWpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; c=relaxed/simple; bh=QEypX0koF50hLwLiw3vI6BhqvWJKBNcpPHUeY0AUQ/8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RiN2X6QBC16SBd5Cx7QAb5zsqnsU90IgEbe5JjtEYdIk/8+zFdvzIsYvysPIURnYmL/gBPZfLfSAkn9JHhZDMTvXrL/Q61TlvMEiPMwRx5C5YJvcsniGDiBrLOt9nbYSr2KDZ0P/Vxphb3DFSge/IWGlw2/nccRX9T5/cYRe93Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34982C433C7; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id AD5BB1060993; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:34 +0100 Subject: [PATCH v2 3/7] dt-bindings: hsi: omap-ssi: convert to YAML Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-3-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=8354; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=QEypX0koF50hLwLiw3vI6BhqvWJKBNcpPHUeY0AUQ/8=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9yaxeLOrJKcUkBJ9mYhbqP+EYCaLKDPcv20 Je3kFZMTfqJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcgAKCRDY7tfzyDv6 mnRjD/9JsnxIhUBlP7y7H5W0vxIBYCOv4cbIbjYh0QA+01RAPM6V9LHrT8/oCXLJBp8tCO0Hqia Bx1zdBUfI5YrMncpsYk8cSW3k97fytOAHguRe5Omk4sQgVnorClyx3/HdXVNMXlCO3pZ3gciRBa AumsUcZdR8dOU3FPytqRNyLTd+ODS8nAvRV4UEawo2fAwko28i/RHqxOGxcjYybFCWRa+gfHKFO Evgke9ccDWbjMKax/eFyipzKyfiii8cfKLOVPKqPfrfHCR0+e9aUiIog2+0pC7y4Tm+elaGobxI CkIx8iZr3hSQscAszbpBVAsUWGc2gNJU0rquZokm9MmZ14y9YLsa8lpYDm4qIcb+yVQufOHJ43M hNskVe7/vMdwjuLj/eD3+wenlT66m2wHSN71mp7Sjdoib0gOWKwOYmmc+GvDeCETXMrC8n8kqGh BD6jKNFofObQ8ooVy4aSiS++V4Cn0PsLD7Ek9m7sTmLcsqxxX5FJ3Bfx+L6L/j4gl2iy9AO5IyG d7sIqJKX/2whA9XlLRSgjmk3zem+RELRSuKUR9J2gX4MMuhPoW2ObyyeEkLNpwQwJGBWqCOofnv OrtgMv2XfQ02TOEpm7hE/cEikNrBrSFBgnrYfz27SPEY1fsCdd0eG2nOlz/DsTZDdVOBqcBBajl RBo/Oa0rVSDXYIg== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A Convert the legacy txt binding to modern YAML. There are a couple of semantic changes: - hsi-port@ and ssi-port@ node name changed to port@ - ti,hwmods was marked as deprecated. This is supposed to go away once OMAP3 gets the same treatment as OMAP4. - changed ti,cawake-gpio to ti,cawake-gpios - describe peripheral requirements for the port node Signed-off-by: Sebastian Reichel Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/hsi/omap-ssi.txt | 102 ------------ .../devicetree/bindings/hsi/ti,omap-ssi.yaml | 177 +++++++++++++++++++++ 2 files changed, 177 insertions(+), 102 deletions(-) diff --git a/Documentation/devicetree/bindings/hsi/omap-ssi.txt b/Documentation/devicetree/bindings/hsi/omap-ssi.txt deleted file mode 100644 index 77a0c3c3036e..000000000000 --- a/Documentation/devicetree/bindings/hsi/omap-ssi.txt +++ /dev/null @@ -1,102 +0,0 @@ -OMAP SSI controller bindings - -OMAP3's Synchronous Serial Interface (SSI) controller implements a -legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI), -while the controller found inside OMAP4 is supposed to be fully compliant -with the HSI standard. - -Required properties: -- compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi" -- reg-names: Contains the values "sys" and "gdd" (in this order). -- reg: Contains a matching register specifier for each entry - in reg-names. -- interrupt-names: Contains the value "gdd_mpu". -- interrupts: Contains matching interrupt information for each entry - in interrupt-names. -- ranges: Represents the bus address mapping between the main - controller node and the child nodes below. -- clock-names: Must include the following entries: - "ssi_ssr_fck": The OMAP clock of that name - "ssi_sst_fck": The OMAP clock of that name - "ssi_ick": The OMAP clock of that name -- clocks: Contains a matching clock specifier for each entry in - clock-names. -- #address-cells: Should be set to <1> -- #size-cells: Should be set to <1> - -Each port is represented as a sub-node of the ti,omap3-ssi device. - -Required Port sub-node properties: -- compatible: Should be set to the following value - ti,omap3-ssi-port (applicable to OMAP34xx devices) - ti,omap4-hsi-port (applicable to OMAP44xx devices) -- reg-names: Contains the values "tx" and "rx" (in this order). -- reg: Contains a matching register specifier for each entry - in reg-names. -- interrupts: Should contain interrupt specifiers for mpu interrupts - 0 and 1 (in this order). -- ti,ssi-cawake-gpio: Defines which GPIO pin is used to signify CAWAKE - events for the port. This is an optional board-specific - property. If it's missing the port will not be - enabled. - -Optional properties: -- ti,hwmods: Shall contain TI interconnect module name if needed - by the SoC - -Example for Nokia N900: - -ssi-controller@48058000 { - compatible = "ti,omap3-ssi"; - - /* needed until hwmod is updated to use the compatible string */ - ti,hwmods = "ssi"; - - reg = <0x48058000 0x1000>, - <0x48059000 0x1000>; - reg-names = "sys", - "gdd"; - - interrupts = <55>; - interrupt-names = "gdd_mpu"; - - clocks = <&ssi_ssr_fck>, - <&ssi_sst_fck>, - <&ssi_ick>; - clock-names = "ssi_ssr_fck", - "ssi_sst_fck", - "ssi_ick"; - - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ssi-port@4805a000 { - compatible = "ti,omap3-ssi-port"; - - reg = <0x4805a000 0x800>, - <0x4805a800 0x800>; - reg-names = "tx", - "rx"; - - interrupt-parent = <&intc>; - interrupts = <67>, - <68>; - - ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ - } - - ssi-port@4805a000 { - compatible = "ti,omap3-ssi-port"; - - reg = <0x4805b000 0x800>, - <0x4805b800 0x800>; - reg-names = "tx", - "rx"; - - interrupt-parent = <&intc>; - interrupts = <69>, - <70>; - - } -} diff --git a/Documentation/devicetree/bindings/hsi/ti,omap-ssi.yaml b/Documentation/devicetree/bindings/hsi/ti,omap-ssi.yaml new file mode 100644 index 000000000000..433e2b2c36ea --- /dev/null +++ b/Documentation/devicetree/bindings/hsi/ti,omap-ssi.yaml @@ -0,0 +1,177 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hsi/ti,omap-ssi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SSI Controller on OMAP SoCs + +description: + OMAP3's Synchronous Serial Interface (SSI) controller implements a + legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI), + while the controller found inside OMAP4 is supposed to be fully compliant + with the HSI standard. + +maintainers: + - Sebastian Reichel + +properties: + compatible: + enum: + - ti,omap3-ssi + - ti,omap4-hsi + + reg: + items: + - description: registers for sys + - description: registers for gdd + + reg-names: + items: + - const: sys + - const: gdd + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + interrupts: + maxItems: 1 + + interrupt-names: + const: gdd_mpu + + ti,hwmods: + const: ssi + deprecated: true + +patternProperties: + "port@[0-9a-f]+": + type: object + additionalProperties: false + + properties: + compatible: + enum: + - ti,omap3-ssi-port + - ti,omap4-hsi-port + + reg: + items: + - description: TX registers + - description: RX registers + + reg-names: + items: + - const: tx + - const: rx + + interrupts: + items: + - description: MPU interrupt 0 + - description: MPU interrupt 1 + minItems: 1 + + ti,ssi-cawake-gpios: + description: GPIO signifying CAWAKE events + maxItems: 1 + + patternProperties: + "^(modem|mcu)$": + type: object + $ref: /schemas/hsi/hsi-client.yaml# + + required: + - compatible + - reg + - reg-names + - interrupts + +required: + - compatible + - reg + - reg-names + - ranges + - "#address-cells" + - "#size-cells" + - clocks + - clock-names + - interrupts + - interrupt-names + +allOf: + - if: + properties: + compatible: + contains: + const: ti,omap3-ssi + then: + properties: + clocks: + minItems: 3 + clock-names: + items: + - const: ssi_ssr_fck + - const: ssi_sst_fck + - const: ssi_ick + else: + properties: + clocks: + maxItems: 1 + clock-names: + items: + - const: hsi_fck + +additionalProperties: false + +examples: + - | + #include + ssi-controller@48058000 { + compatible = "ti,omap3-ssi"; + reg = <0x48058000 0x1000>, + <0x48059000 0x1000>; + reg-names = "sys", "gdd"; + ranges; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&ssi_ssr_fck>, + <&ssi_sst_fck>, + <&ssi_ick>; + clock-names = "ssi_ssr_fck", + "ssi_sst_fck", + "ssi_ick"; + interrupts = <55>; + interrupt-names = "gdd_mpu"; + + port@4805a000 { + compatible = "ti,omap3-ssi-port"; + reg = <0x4805a000 0x800>, + <0x4805a800 0x800>; + reg-names = "tx", "rx"; + interrupt-parent = <&intc>; + interrupts = <67>, <68>; + ti,ssi-cawake-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; + }; + + port@4805b000 { + compatible = "ti,omap3-ssi-port"; + reg = <0x4805b000 0x800>, + <0x4805b800 0x800>; + reg-names = "tx", "rx"; + interrupt-parent = <&intc>; + interrupts = <69>, <70>; + }; + }; From patchwork Wed Mar 27 19:11:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607301 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8185814D2BC; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; cv=none; b=LpwkU+/YEsL8+y69ks66vWplu7XcvCVjnHi05AQ0sabw0L5AjTU2qS+gbxomuSH+SNBUghWhe7odV0r7qSAV/VvT6EFOtUJK+0vgPZOgUZDz96HjlW2MQLHsnny9KwBNUP2dnjUt7K+et7alWRdjFfeFnnmBlt/2Nxp+vBQXdrY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566710; c=relaxed/simple; bh=wi3UudNlYPIq+1jzeag//Ji0vym5lrn/VexnhbraNx8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XeA0zfaS1lOr2Up9wsgogm2EMPf5gTzPeYfC45+FwI1qO3LGMvLKZTvynDREzKjNu1I8BT8JG4ApDj8I4WHZRHyRU6rrIB/WuNqu3PxCfASJIcT4BOqUx1VgexgZiygXOiIWfMYRXT5zyqam7++kkkzbklbkTqvEynMga671a1s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09B1DC43390; Wed, 27 Mar 2024 19:11:50 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id AF2871060995; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:35 +0100 Subject: [PATCH v2 4/7] ARM: dts: omap4: fix hsi-port node name Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-4-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1082; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=wi3UudNlYPIq+1jzeag//Ji0vym5lrn/VexnhbraNx8=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9yLqF+Q7axsNcb7l9NE0t+tdlJ7+wqWT/j4 uJW54pYAAaJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcgAKCRDY7tfzyDv6 mkYmD/9wFvwBiF6wSSaUM2Wpt/pkZ/K6OQGYfev3HEMXUOHQKCCPgV+A4KaQpk2d3tnF3w5D3ip P6rzN87Wczv99BLKdVXLI4irVk8EIlDoQP20PpXyzUqxjj2kUBoCEI6bFGqSYIdjQjozN2CZQ3W knvbflPuFuMwJLk+mo+fESP1UkQsItSiq84TmfkDtMATIbacP88lfKyE6pu6nAygURLZR0cVEG1 5KvCEWgoZwwdgLv1U9Jjd6KlS1DBob71Bz8d9YgVvDblLSHxLWjz/bqeOTmOZY+zc3/bFi1ljqy GEpwXW1rLKGINqbdBhcl06TEtUhBdHn9cfkKse6f0qviCJ2RReTBASLmoEV5GMVQ4hAn2Q9jNJN +2sFN+yHW5Cit2IZWZjYSYe1f+IP8nvv0zqKawM0HdRTkPGfDPDWrI2IlU5wSzPQLMXZH7Yn4op ILrbFuocUO3br4RvjE9u3CyJTYG1obIXmxVYeTmFJV/COZk6wUlulYALPUVmdJ1W/U91UqDC4kQ oKWDeNPZHkQBXydDVKgeFszA3CqDn7Xe0QyrK4FvaomamzHnlO5PhguaQtZ8UAo4oid38lErluD 4JcQmIsE+gSrqID+GDg1T0jtEXlidTMq1/dwpBviUVXVZpropFSHBnrFyVBhxQUCXpSez5DWelA rT/Isb6JbkvtRxA== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A The DT binding specifies, that the node names for the HSI ports should be just 'port@
' instead of 'hsi-port@
'. Signed-off-by: Sebastian Reichel Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/ti/omap/omap4-l4.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap4-l4.dtsi b/arch/arm/boot/dts/ti/omap/omap4-l4.dtsi index 3fcef3080eae..8963c966cac7 100644 --- a/arch/arm/boot/dts/ti/omap/omap4-l4.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap4-l4.dtsi @@ -214,7 +214,7 @@ hsi: hsi@0 { #size-cells = <1>; ranges = <0 0 0x4000>; - hsi_port1: hsi-port@2000 { + hsi_port1: port@2000 { compatible = "ti,omap4-hsi-port"; reg = <0x2000 0x800>, <0x2800 0x800>; @@ -222,7 +222,7 @@ hsi_port1: hsi-port@2000 { interrupts = ; }; - hsi_port2: hsi-port@3000 { + hsi_port2: port@3000 { compatible = "ti,omap4-hsi-port"; reg = <0x3000 0x800>, <0x3800 0x800>; From patchwork Wed Mar 27 19:11:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607306 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12B2D1534EB; Wed, 27 Mar 2024 19:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566713; cv=none; b=JWj4clGgDn+cSIInWpqomaQ6WprQXs5NG/oh53tDSApGJzIq3g+klF9abNe/myYC/2k2l+5/iRJnXdV3GzG+PPglh8sHfFgiRLWLGgY0U8RAOu8KRzk7PtGBBMuepu5fu9bNF/Yd2lfRgvSnkyPXqhmX9+CDqcSj2i18EYwtU3Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566713; c=relaxed/simple; bh=vhyhvBPp9VjqgpumB14+p5QhF1SFFcfFwmHxRzf2ApI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oojDagmc5s9JqGRsUmWTiJ+RKh+jKzjOLffo2/sVP0X0Rwf1pwOx8ogM55KPuOcAniWvNk3Jmg3GMC+7gcv9m4vVkcTp23rWgU46b+FmwgIbHc29g6GB7aFnTE8vBhP/TEnUv6s3gYBRJhHmjg7+ko4lUX0kC1DTxTtFPwYY++k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E0CCC433C7; Wed, 27 Mar 2024 19:11:52 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id B0E491060DE1; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:36 +0100 Subject: [PATCH v2 5/7] ARM: dts: omap3: fix ssi-port node name Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-5-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1001; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=vhyhvBPp9VjqgpumB14+p5QhF1SFFcfFwmHxRzf2ApI=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9y8K4vIQF/wdXEEHfddRWe28FaLBHpZOUrn u25r7nYIHmJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcgAKCRDY7tfzyDv6 mineD/97Pm/faG7e1iuivIEzLVAOscMDlYodnyPcGl93F8jMPjQfg+ihlLG4si902uBfDWEmKMD lpQjSIKztFgWpxFoJ5ia/6yN5mCZkvt2LFDk8ya/fg9X4kRyq7HpF8NOShe9XuINzb1cwLdQlEm wJVoePLxJcO+5vsY8T5uMSpBXCgdQiDPYv00nUxgzwFIWSPQqmsf3qqhswkV2PMHTkUh/FCM77w HolNIWGJkBDewhoHAZzjAiRRRQam2Ypnk7wcDYO8+FZzPzSeu7vamGYRFXHrO9dVm211efPzO6x 5ObUeWsIpXuFTGBxN2WveXivitCqMmNSxil8XINRR9pkk4y/LcCNEPsl7QEdq14atX1+BZg9SY7 CBUVRRxbrRnwaV+P4WEUVB3pFei+37L0u0g/OSaGbky64yG/R8JwN7cEtlQn1fkrDJFyMVIVVZa Zm8mg0o6xUFoKOE4CcJEV+1zeLzlAhNn026I/IBlyGt5XPATi3nNNtA79BaskknaXifFZt5K5P7 j6bcv81Mm6cDkTyr2hjFdcbDhDDSwKC+YcykfzVYxvzdimJs9aKOk9uQzzbIY4jR2VvMQCG8kXf ITz5uPC6o0bC+6olMGvzadGeyzqxZ4XQF1E/IFrHbPcwJF9nq/qf2n1hDNQZ2+HM5iUu1nBlVdk spugbylEVvF66yA== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A The DT binding specifies, that the node names for the SSI ports should be just 'port@
' instead of 'ssi-port@
'. Signed-off-by: Sebastian Reichel Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/ti/omap/omap3.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap3.dtsi b/arch/arm/boot/dts/ti/omap/omap3.dtsi index 92cd4c99dae7..ae2bfcd7e18e 100644 --- a/arch/arm/boot/dts/ti/omap/omap3.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap3.dtsi @@ -999,7 +999,7 @@ ssi: ssi-controller@48058000 { #size-cells = <1>; ranges; - ssi_port1: ssi-port@4805a000 { + ssi_port1: port@4805a000 { compatible = "ti,omap3-ssi-port"; reg = <0x4805a000 0x800>, @@ -1011,7 +1011,7 @@ ssi_port1: ssi-port@4805a000 { <68>; }; - ssi_port2: ssi-port@4805b000 { + ssi_port2: port@4805b000 { compatible = "ti,omap3-ssi-port"; reg = <0x4805b000 0x800>, From patchwork Wed Mar 27 19:11:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607307 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C49A1534F2; Wed, 27 Mar 2024 19:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566713; cv=none; b=TQ4SreliH3ZGZ2nb91J895sxb1/32pOi3moZTVansEEZEg4pL8Q9DtDbnzuhGZa0eYtzCulRU8HQvuO8RGSjSplHRxmIziPAWoxgOPdYUagnVN6PeKvML3Gyued/mCjcRyzW2hKEK2UPanwPH+FR9LL3Ub0jcxLud4gyWshRQz4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566713; c=relaxed/simple; bh=EFoBKQDAtN6cym3QOd8+YHdfS7fjMPqCc2hL9I5LNmM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HtGSrO36ju2Q299h2LTTC+sb7XvUg3qvATdFA5e1lFC8YSjgBse0e6So8bJ5AJhhM88abtiiiugTm3vtZK1UpPXa0ZrORhxrkDh4uB+IzOLNNTD7ED6ksycFKirmIKBhWJIsO19HgB5m+vXRxapHZYlAzoIKV5qVNTrJyodscGU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0176C43394; Wed, 27 Mar 2024 19:11:52 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id B2A3B1060DE3; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:37 +0100 Subject: [PATCH v2 6/7] ARM: dts: omap3: fix ti,ssi-cawake-gpio property name Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-6-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1428; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=EFoBKQDAtN6cym3QOd8+YHdfS7fjMPqCc2hL9I5LNmM=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9zRhmxn4KXjiTpdziUEKvi94T9/0ghUS9Rv N4TYjDvf9uJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcwAKCRDY7tfzyDv6 mkGED/9N4AzZxhU9U506p5D1XkyqSQwVn4ZdPuify6r8oB7tXt87t2xr5CT5ZlRN2gYJQ7+MErp 9M1cQ4N9htf+aI+KbBap9UWBWk1S+W3hq65ffeDWK0+A7tOCFkR0Qq02npDon1gruDl/wMXBVAu ZIaDjlJJhq6xrsFlD1ycJqRJHqBRuWGzOCwWt/9rz4IAwy8M5UqYIjbpEcmysMBMMJUg/TKZzpY Zvn1kznr6YHpc2M/X/5+ACQNuHC1M5vkC5qsf+F8TY2LdhQ4b4GrLWLtXj9BOG2+d47lv5T8SH6 BrF+NJSzdCAOrZ12pkmna8IpbWskSjzFIGc7fXBMbBuUvWbZo/rgm0gB2uyvwQfymE27SJu1Oq6 Q0ZAx7u62iDebTf47rca+gShb8BT+fpkPK8a2KHtzKZJrhQgRYZvcZK1014/9xs7EgBoWVvfa+H rrPsyhNRDkx2guV/zx60kc2RZBepTHeBlCN+x+Er08/BKjjhDgaIR7izIvudYzkhDnVgsYYW2xr fvrrRHnLFMALlQ5LDx+lgfYkZDb+0jjZouaRNdJstKyGqzfE+BFL/gvm1Ssp8Sr69ZpFGMGT20b s1+uc+8UZ1REdNksQKH+6buBYUBjvJES9hIjeAmGsE7tXjIfnSIm42xEQfHaCW3pWj93ZaGnzwb oydafkCPPDZPSag== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A The SSI DT binding requires, that the canonical form "ti,ssi-cawake-gpios" is used instead of "ti,ssi-cawake-gpio". Signed-off-by: Sebastian Reichel Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/ti/omap/omap3-n900.dts | 2 +- arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap3-n900.dts b/arch/arm/boot/dts/ti/omap/omap3-n900.dts index d33485341251..b906b57371ce 100644 --- a/arch/arm/boot/dts/ti/omap/omap3-n900.dts +++ b/arch/arm/boot/dts/ti/omap/omap3-n900.dts @@ -1121,7 +1121,7 @@ &ssi_port1 { pinctrl-names = "default"; pinctrl-0 = <&ssi_pins>; - ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ + ti,ssi-cawake-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ modem: hsi-client { compatible = "nokia,n900-modem"; diff --git a/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi b/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi index aa4fcdbedd8f..6e0db8275227 100644 --- a/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi @@ -448,7 +448,7 @@ &ssi_port1 { pinctrl-0 = <&ssi_pins>; pinctrl-1 = <&ssi_pins_idle>; - ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ + ti,ssi-cawake-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ modem: hsi-client { pinctrl-names = "default"; From patchwork Wed Mar 27 19:11:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13607308 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52E6E13E043; Wed, 27 Mar 2024 19:11:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566713; cv=none; b=aogD1n7sMgCSidcv9/qgB+Bkkz42oY9kKUGIW3ZAn45I6+whqlaFIs0JeSlgal2ke9VR+dAEGz4YlgRtSChX2En2C9qChOfNegGTaX1hY2iwXEuqUGo3XhYELUnQr3+M8LlmlW4WzcY7Ty1EN8F6IJD4kIrlDtq42PDzNpW1X8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711566713; c=relaxed/simple; bh=8K4YFhR8C6V7MEOUhnFeNGpLwrwArXVCXtTG2QEyaYY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Jufobp79wdoTNoWPIySAnVkG6zj4G4byUDjkmH8EjseL8bwdzJSw62VFEd3z0zFW51+f4Rerty8JOimJqZM4w35d3KBhuUfcL7ho5HMHOMQX8AYPK0SqGrKZ5W1Mx0scGVF3qz6VHbgzBn/gWGJ8sTz74wctSZw0nxry9OadXns= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D68A5C433F1; Wed, 27 Mar 2024 19:11:52 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id B46581060DE9; Wed, 27 Mar 2024 20:11:47 +0100 (CET) From: Sebastian Reichel Date: Wed, 27 Mar 2024 20:11:38 +0100 Subject: [PATCH v2 7/7] ARM: dts: omap3: use generic node name for hsi clients Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240327-hsi-dt-binding-v2-7-110fab4c32ae@collabora.com> References: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> In-Reply-To: <20240327-hsi-dt-binding-v2-0-110fab4c32ae@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel Cc: Tony Lindgren , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1268; i=sebastian.reichel@collabora.com; h=from:subject:message-id; bh=8K4YFhR8C6V7MEOUhnFeNGpLwrwArXVCXtTG2QEyaYY=; b=owEBbQKS/ZANAwAKAdju1/PIO/qaAcsmYgBmBG9zVErjO87lwBsjYyxEn8oqZ6l2a7ExGGuss YmilPZQAjiJAjMEAAEKAB0WIQTvZg0HRj+Lcmp5VBPY7tfzyDv6mgUCZgRvcwAKCRDY7tfzyDv6 ms5OD/94Zzs90HS6zooUcE0CmRNm9ia+akkjPf1uyyeQWV0CRM04NY+FwZihySdgkSCt3sErhQa CSkZQ19HbPK4tham9eFvpjHNNXustDfv2Yfglpr+6lW6aJ4FNlEy1YqlZqTeLA51Q2VIu3r/lqE eZEyJCVd7fWxxUPg7wCBqJ384frCXyhWRbDmrYZ5/whuygglaTzAondIvzTu2ryfsWOEiM2Z5bX kJyMkWjSxWR8SxUvZbICMB065KAuhar999eSFqVNEOZGkWAKmVikX/wGIVL7av36HAVcISFK4G/ WvVkZ8jYA8CYk1Pm8Fy/IJueaeamUt8IP+/Gnq3uCvZt5rQnD7zOeoCwJsGeI7Sr+PcNHhpgKXT gftpwzcWc8hTSNo95Hg9R5gC2j7c33yGJASf0Gk/QXeGiNzD1tO/R66zx9bIAZZDKH+/aoj6Cj9 a2Up8jsFRH0r1w0adeT7PRuGWf+vWaIbZueOBAKsySFlR5IEKmDTzMayLcwvA/bDzwUitijXK+Y f6vX31oW5/L5ld2O6vjUB5ELebok1o6KKpl2HKuXPZuXPxFGuqn0eI74jePNagiSoMUdLJcBeAg wNvx7Z4A+wTO/9cYlNEV2aqckVcQ5lBlX+hoRqQuxAO4AMVYXyyMxNoANUvD8+Syzd0roG2kChW IVCbu6zhzeXxuwA== X-Developer-Key: i=sebastian.reichel@collabora.com; a=openpgp; fpr=EF660D07463F8B726A795413D8EED7F3C83BFA9A The HSI peripheral node name should reflect the generic type of device for the node. Signed-off-by: Sebastian Reichel Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/ti/omap/omap3-n900.dts | 2 +- arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap3-n900.dts b/arch/arm/boot/dts/ti/omap/omap3-n900.dts index b906b57371ce..bec31faf86db 100644 --- a/arch/arm/boot/dts/ti/omap/omap3-n900.dts +++ b/arch/arm/boot/dts/ti/omap/omap3-n900.dts @@ -1123,7 +1123,7 @@ &ssi_port1 { ti,ssi-cawake-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ - modem: hsi-client { + modem: modem { compatible = "nokia,n900-modem"; pinctrl-names = "default"; diff --git a/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi b/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi index 6e0db8275227..7e6dbc1968aa 100644 --- a/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap3-n950-n9.dtsi @@ -450,7 +450,7 @@ &ssi_port1 { ti,ssi-cawake-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ - modem: hsi-client { + modem: modem { pinctrl-names = "default"; pinctrl-0 = <&modem_pins1 &modem_pins2>;