From patchwork Fri Mar 22 06:45:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599672 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92BA6DF62; Fri, 22 Mar 2024 06:45:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089941; cv=none; b=A3odbMABEEn78IMZDJzw8yLxvE8yf1BHykwK4cO7CXNgj9kKjAe0LvArL8klH99mt0PjrGScszaB5onrT2yOew7IokVfeq2kAdhU4JDWY6WWXgOCkD6x8kcnPGx7PI4nGZfBqk5U9GPiTrxaJ+ZY3gHZODA79ZCqVCUF3qxwWZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089941; c=relaxed/simple; bh=dydiCo7iI1NW4gSDYIevGCRXxnVvyAdCyQwXxWD9D14=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RyP6GcipgY2yQnNUg9CEP8dNk89duieMy2vAWZSXSmv+p/NXCQ+EUP1/v6KTZgXn1r6/yYcF35BuQOCeSalpKSsv+esOtHvhYwtG3TV0D4F7Lvxq1VIaah5sVmk362SkPjk3ohUXjAJFU0G7A7+2bcsh5WnZQi183T+qpfh6FVM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dX5bpek1; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dX5bpek1" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a4715991c32so175463266b.1; Thu, 21 Mar 2024 23:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089938; x=1711694738; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rOSsKufZ/8yCjM1/hlvnqYOYaN3abG+vGfagOCNtt2o=; b=dX5bpek1VxQZXTQo/DJn8aLmcy40jTCDZ6KC15x0XtxYTCyOGySnTbTaHA7aWVbuPy N+B5qxxJ/aVZnjxITbGbHWfjEUMbZv0pSdK81xcS8FSfd3Ibog37+cERhqxgFG8Qwbp5 V6qrymDcPvGE19a2X3Hj2JUKYa3gW2tUwEaD4i/b2zHdSZRqxMBfDUGsP2yLG3TK3jJo 29+a9VnkGXXEhzpMfLoD5PBJH5i4asUhUjS2mvIfd8N1B9PsNOakkKli6ZwW2vBXoqDj NIYewcnrhmzGGqL7XTcCRz4VIqRRhKebZVXfCPsTq2kzwaYR1ZPpMs+ayrc022KyP/St dBAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711089938; x=1711694738; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rOSsKufZ/8yCjM1/hlvnqYOYaN3abG+vGfagOCNtt2o=; b=GmFdimtyzjvTGGPyUIGeWtc/TrBbwFSZk/CQxvlvH9Je2QzRBdsXCdc+YB9FRo/2uY zyi9YiABBOA9W3qWwVolAZD3DhWlm0fdOQ5UnlL4Z3f9HruJTxEiyo6oKlol6uo2z6eG cmNOKFqva2EG5dLEhaupe6LCbaj46uzONtgLsytmiX+sebczxz+zHmk045oIT0X7TZGh th31/eWe65XBN3L7Ld0g8Zq319hzIIHzOnrAxrsqdoFQzhLhut4tX/xfmyP07KK4UULU sZLR5rl/C4p+UNLvOoZMWn0p7ph2lchm5BAaYWIQfSRqVQiDbhU8LCDyxYi80JGgEDoE Mssg== X-Forwarded-Encrypted: i=1; AJvYcCWFWdVONKeY7xJNt1DFTT5G5shY18vDThjwvDkQnsm4WgU+x7+0X0C5WkExlKWH7/VnfJWfyvyG7VehDszS3U/dQlQlUwYDwyDlaYYcal8Pak4hMDzfyBp3/B4rMj0b5RbTYscM3ZnkfA== X-Gm-Message-State: AOJu0Yy724ZPWHWOI6sk/B2VEBnGLVE+GKljf3f7k9ZGDqdybVtoI5js gOBExdwgTNV31sPzhibSZ+31S+DmEz+j0giGtQC3vpc+wUzARfTG X-Google-Smtp-Source: AGHT+IEKmV1pnUuAwpsoeuF5BAS3RVUv2sjWEX2KhGLMWJPvS465ZIZs2/H3FbqnkYNv5pNHwrmMaw== X-Received: by 2002:a17:906:b818:b0:a46:206d:369b with SMTP id dv24-20020a170906b81800b00a46206d369bmr970238ejb.28.1711089937861; Thu, 21 Mar 2024 23:45:37 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id e19-20020a170906375300b00a46bb8a44cdsm679694ejc.198.2024.03.21.23.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 23:45:37 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 07:45:26 +0100 Subject: [PATCH v2 1/5] dt-bindings: hwmon: as370: convert to dtschema Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v2-1-570bee1acecb@gmail.com> References: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711089934; l=1927; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=dydiCo7iI1NW4gSDYIevGCRXxnVvyAdCyQwXxWD9D14=; b=mjJW0wmKIE4uFauQh76CG+KkMvkmn4jNOfu3ARAqE1vXWCXBI7v4NH1AJAxudwdBY+/LWT6MG K4pY9WZVNHmCiv/UQr95sYpl4Pf53ojlW5qCWElxZkxK1rqahIK8M7w X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Convert existing binding to support validation. This is a straightforward conversion with now new properties. Reviewed-by: Rob Herring Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/hwmon/as370.txt | 11 -------- .../devicetree/bindings/hwmon/syna,as370.yaml | 32 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/as370.txt b/Documentation/devicetree/bindings/hwmon/as370.txt deleted file mode 100644 index d102fe765124..000000000000 --- a/Documentation/devicetree/bindings/hwmon/as370.txt +++ /dev/null @@ -1,11 +0,0 @@ -Bindings for Synaptics AS370 PVT sensors - -Required properties: -- compatible : "syna,as370-hwmon" -- reg : address and length of the register set. - -Example: - hwmon@ea0810 { - compatible = "syna,as370-hwmon"; - reg = <0xea0810 0xc>; - }; diff --git a/Documentation/devicetree/bindings/hwmon/syna,as370.yaml b/Documentation/devicetree/bindings/hwmon/syna,as370.yaml new file mode 100644 index 000000000000..1f7005f55247 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/syna,as370.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/syna,as370.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics AS370 PVT sensors + +maintainers: + - Javier Carrasco + +properties: + compatible: + const: syna,as370-hwmon + + reg: + description: + Address and length of the register set. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + sensor@ea0810 { + compatible = "syna,as370-hwmon"; + reg = <0xea0810 0xc>; + }; From patchwork Fri Mar 22 06:45:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599673 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C932010A35; Fri, 22 Mar 2024 06:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089943; cv=none; b=BUmH3Q2lHS6GEcbRhwAkYvPosQapeBeE4jUBW3QV+vAIr35DaZU6/X6uZ4ZLZJTaE8Gd3bmUamFNuDELEuk93yIrXyiDzDNa5mPK6zCF2Y9Nq38JChmMXnDj03Se2tGGkBbyLzbwHinxnVEt2sMXBPhLKBdJA6l4TwbKYAZL1EU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089943; c=relaxed/simple; bh=l9AcFCPvmbDmRPKHHUdkbOmNj27sBNChGiCLDfCdWFw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dVuvlOyHwBwFBfG7WSwCsqCXTzCGZiDimuKhWrI9+Q9CEw9oTgjLaV0uA52LLUmtygE1LCk0YUr1+j1ZMMQBTJAW3fZmZ2S6CXsr50fXfVKalQLzFpgpaxzxYJc8kvZcwJzhJlw2sI2/PuOVTiKiSextvdHymYIipdi9uOKsCkA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=LtNFgVT+; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LtNFgVT+" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a467d8efe78so204674866b.3; Thu, 21 Mar 2024 23:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089940; x=1711694740; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7MsEAz+9LEdA+n5F4viKLmE3lAJcvkoHSIBKA1QCQsw=; b=LtNFgVT+BWR4qpe40q9FCmNzvg8yptp2WbbqCLWV7doITfDT0dXtiPos1iS5+AGIpf EWMCZHWzRv9EmfP2P4woUc4Az5Z3pSYMvX1AxL2rm8Z1tcDTwHE8LszKsvlcDbUEQWqj ir06vuwK27/XecitWERQNx+2PHRJ2jYzVI+ktmf5T2fH4cbTa3YjuHt9F4LTEPkAN7ap XR2gKlKcyhdG1FEYhTbxOq8zppbNoUkIgZeuegWSvi+qeKUEH6q4JM4HNpwKgnmf6NQ6 +ZJTA0mzc+O6wyub0UXRkRd4XsE6eFqzi6CyMOPEWg6qqNZGA51+5V13t31oyewF8bnM BZXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711089940; x=1711694740; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7MsEAz+9LEdA+n5F4viKLmE3lAJcvkoHSIBKA1QCQsw=; b=tdJOindDbco+50gm78DVZmG8Hw90LQ4APfT7qQC5/cyuP/VBcSMoeS/FFVkwHhf/8E 8ss1rqzdgS1HH4D0FHF/MShtAt28QC44ow4JIqkY+DEidHWZxEUQg2a+X06t9T86wvpG sCoVaF7hzzLqGYiWtNbW5SkJIYchFms1R0VH3WXfZeF02ApSLOjumJlaQfNqB86QsNFO d6cMxpw1C/pZgFjUq3RiF+qcJIuly9cn0pmhD6Hje85QbofFIcKDL0cqDKkt4hSN4YyS aRggGId+IwLAVOk/J7I2II22NWJZ4FOip80GfpkSCKxNCC5WJkVLDpzlB/heAGhReLZU UeuQ== X-Forwarded-Encrypted: i=1; AJvYcCUKWFpbZ38nGjvgp/muZ2g/H0eHXmuLN4Kc3mmg3XHYj9S89HcmWhuAnhZYZ/DHFjolsOWcsosKWxtF/RISBwPKYMU+FTJr7cV2BwuTvJ+FIXqThhgwYaVdEaEYyewiaGzipvn8f2ceCQ== X-Gm-Message-State: AOJu0Yx0akslTJMWlXsZ1RCV+SrP+8UCQPaQWDQenfAdH3p+W8CLV93g jDbP0h1XNF3M68RqYOWYA3DfYo7BO9n/ojF8DyV3h4RB4NSXz3Up X-Google-Smtp-Source: AGHT+IHREvj01EsbKiiQva4CdE4k+soXe/2fsiihxknRWMchMegvdTdXqeew6z0bVCcGYfQRsQaNjw== X-Received: by 2002:a17:906:abc7:b0:a46:b764:fc81 with SMTP id kq7-20020a170906abc700b00a46b764fc81mr985691ejb.44.1711089940144; Thu, 21 Mar 2024 23:45:40 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id e19-20020a170906375300b00a46bb8a44cdsm679694ejc.198.2024.03.21.23.45.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 23:45:39 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 07:45:27 +0100 Subject: [PATCH v2 2/5] dt-bindings: hwmon: ibmpowernv: convert to dtschema Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v2-2-570bee1acecb@gmail.com> References: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711089934; l=2506; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=l9AcFCPvmbDmRPKHHUdkbOmNj27sBNChGiCLDfCdWFw=; b=NPbeHwM3uK9PZwZ1Xwi81PirJ+/H+Jea1v14E2joc98FCbHX9o0tgHW5medAhEkV3anuA2ljt XCnfNryadrWC0xgqMRvI7U0URTENNIqDAVxW4SqXceX6KCRmje6FUc2 X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Convert existing binding to support validation. This is a straightforward conversion with now new properties. Signed-off-by: Javier Carrasco Reviewed-by: Conor Dooley --- .../devicetree/bindings/hwmon/ibm,powernv.yaml | 37 ++++++++++++++++++++++ .../devicetree/bindings/hwmon/ibmpowernv.txt | 23 -------------- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/ibm,powernv.yaml b/Documentation/devicetree/bindings/hwmon/ibm,powernv.yaml new file mode 100644 index 000000000000..b26d42bce938 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/ibm,powernv.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/ibm,powernv.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM POWERNV platform sensors + +maintainers: + - Javier Carrasco + +properties: + compatible: + enum: + - ibm,opal-sensor-cooling-fan + - ibm,opal-sensor-amb-temp + - ibm,opal-sensor-power-supply + - ibm,opal-sensor-power + + sensor-id: + description: + An opaque id provided by the firmware to the kernel, identifies a + given sensor and its attribute data. + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - sensor-id + +additionalProperties: false + +examples: + - | + sensor { + compatible = "ibm,opal-sensor-cooling-fan"; + sensor-id = <0x7052107>; + }; diff --git a/Documentation/devicetree/bindings/hwmon/ibmpowernv.txt b/Documentation/devicetree/bindings/hwmon/ibmpowernv.txt deleted file mode 100644 index f93242be60a1..000000000000 --- a/Documentation/devicetree/bindings/hwmon/ibmpowernv.txt +++ /dev/null @@ -1,23 +0,0 @@ -IBM POWERNV platform sensors ----------------------------- - -Required node properties: -- compatible: must be one of - "ibm,opal-sensor-cooling-fan" - "ibm,opal-sensor-amb-temp" - "ibm,opal-sensor-power-supply" - "ibm,opal-sensor-power" -- sensor-id: an opaque id provided by the firmware to the kernel, identifies a - given sensor and its attribute data - -Example sensors node: - -cooling-fan#8-data { - sensor-id = <0x7052107>; - compatible = "ibm,opal-sensor-cooling-fan"; -}; - -amb-temp#1-thrs { - sensor-id = <0x5096000>; - compatible = "ibm,opal-sensor-amb-temp"; -}; From patchwork Fri Mar 22 06:45:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599674 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D782912E73; Fri, 22 Mar 2024 06:45:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089945; cv=none; b=ucbXF4KUcF8lmNT+yQsfU3S/T7MHefBHYhzFnz5TJCRF7ftXrrjopJyLTxc9AA5T2awEYLS0sfWXTui2SRrba6QUxqBKxcaf1/KjDj2ZznsPDjlcHl0RcfnSXHJE+5q4SAnyM/OHegkdf7mteFxLRIeBf0Wf5tLSGwELrhJU8bk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089945; c=relaxed/simple; bh=ZcfJW77o+avPTeg2tdUvNFQMCBaJDocyWKaLWxFMj3M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=K3arhcvjXRw6K4+1GS7CQNXIBRIsxRN2Fb5LA8oGqI2Cz2iPpeeXQmaQjl1/gTJlX5+up9jBoGDI5hBuUYxBPmhtKYIcGuDSZgim1wvmJa7Ef0lUtsYVjrWzR/DYfPDBkKUqlIg/ILJxP+0Vp0JGVbijur45VzcFFEaW0MNUxpM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GxVegGwG; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GxVegGwG" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a44665605f3so206138166b.2; Thu, 21 Mar 2024 23:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089942; x=1711694742; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=D0ZcSySu+KpK49bvvLZjoVLSgT/8Vz6AsAvPYvNMC5c=; b=GxVegGwGoIJQFgvnI0+hjYUwwqP6V70yEKV0zb850r9JUi7ARkoJtO9Yk6g05P0QWF SW+aquLQUALrAFyiJfw59t0aHS0jaTYH7h3oUH2FYGekoSnJNimU/mBBLdoQ9eIxwkqL OzWGUuHbXfHY7m69Wl8MkidNIgitWhDTpc2BK7Q/KNI9TaYOUF8jrzCRNvtDw5T4Dr+h 4nAynYwKVr/GWaqhYDP82HOP/emH9Yc/1TROa3op7WAqq426I8+bcN43gsIpRt1c6Y4V Bx1Xs3fgJcdr3a0vz1XrpxkPK02veX8gFY36CFARbDzsY3r15wdvVWO5/f4X3WB2uaS8 djqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711089942; x=1711694742; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D0ZcSySu+KpK49bvvLZjoVLSgT/8Vz6AsAvPYvNMC5c=; b=bomOTsgrYSFsSFQo49KcIVwbhrbioqT/K8y00PvxhSV+LbZHVA6iliIO3ZdEQKkJVG WWx4gJDVPFZzvoMmS6WhGQ+xbqsKxKclLtlKfKwSQpqPTdNnoGI3YQxSQAgrWHyGX2VS Yc/7a0qXXuPNOnd4UlUYfmNxRm+66TGWwweOfLLsyuBfdBOZ+8l8swHqIzk1zxwVaXx9 E6ukAm3rNoKXSZzLQt9u4O5oK1IC/mxshC4WPyP9me4Chg8CPbB0lw4YtHflzI9QQLct 1ABuBc51MXqOZ/d2nLpt7Iv/oyB7UaobHweaVKoCIeU3Sor2F1r1sWIF/YCDGyhAi7MB urVw== X-Forwarded-Encrypted: i=1; AJvYcCU9oKLHV8lxipHgLtHwUYBdsI2qDQRkIbuLTOtm0TJ/qLMsSD7+0cLOFFl2vKcvWQqaINgG0JuLjNQ1uqRSkkHO/eIjM5c10u4j//I/MGDGSP7R69yex88/ZOJB1Drgyot3k27qZc6hNQ== X-Gm-Message-State: AOJu0YxlwwAND3VOzE6go43vApNsDgra0hnUEu5AXRllNdJDCYwLJJPg xtdcMa8qAcBMezN6w7RyrzxAD6FoP1UZekiac9+nelcm2QwChTED X-Google-Smtp-Source: AGHT+IFIXvems84M0PI0K8RQsadDz+FM4cpWGTpn+kIb/rANJTIm6DuJ39YJNFIbiRXd8h1N/nuJBg== X-Received: by 2002:a17:906:1cc5:b0:a47:1f9d:594f with SMTP id i5-20020a1709061cc500b00a471f9d594fmr933241ejh.45.1711089942175; Thu, 21 Mar 2024 23:45:42 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id e19-20020a170906375300b00a46bb8a44cdsm679694ejc.198.2024.03.21.23.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 23:45:41 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 07:45:28 +0100 Subject: [PATCH v2 3/5] dt-bindings: hwmon: pwm-fan: drop text file Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v2-3-570bee1acecb@gmail.com> References: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711089934; l=582; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=ZcfJW77o+avPTeg2tdUvNFQMCBaJDocyWKaLWxFMj3M=; b=ooBwVciHMfKQ/gDnvt+gH3CzlaNb70fu8uWXmrc1NGsUHz5TUZv1NQ7muE2ALJoAXiAQA1ae6 4Yz8w/pnt9eDDe/lDdcxJY2NPR5r2JM+9Z1+eaSoV24pIlyh/CbjN0O X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This binding was converted to dtschema a year ago. Acked-by: Rob Herring Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt deleted file mode 100644 index 48886f0ce415..000000000000 --- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt +++ /dev/null @@ -1 +0,0 @@ -This file has moved to pwm-fan.yaml. From patchwork Fri Mar 22 06:45:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599675 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F27FD16428; Fri, 22 Mar 2024 06:45:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089947; cv=none; b=BqgP/+UdGji7yuJ5Qex2wdpkewwVLx3D2B2UFlEJS0/i1KYUXCMbasIySnQ/bXpfPfFB1wNpEsWk33b7tCvErD4j3xP/fdaISZ2LJWDH6pKamzhJeuAjXgqxDy7ipJBcTWtIM6gc8g0Mzls0dXvAdGOI2NykJkxNrp7WY1H0yZ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089947; c=relaxed/simple; bh=SL6IFykbfJaWw2tZ5nEHGx/wGHJSnUvcwuO85EyOS+w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ei55Ydib2/53WRhrYqua4ZNRsE45A4fMGX9eDB0sc6C029R18h7iDxUlMxNGfMX10+/rjBB9XTp2wYV4yiGtCBjSzLDaNYVU+LwhfGZWjNbHI6idwnse2ANpEmd4ssOmQyDVr04/zF2XX7KoonYMhx4eTPJ8T7W4NLt9vwaBpB4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Yrrqdepz; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Yrrqdepz" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-513e6777af4so3285377e87.2; Thu, 21 Mar 2024 23:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089944; x=1711694744; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bZod9FP10mmkUa93vUHm2PRSdkHtpevTJB03xjoBD4k=; b=YrrqdepzlNfcd0DxtIYMFtaZKHoNFrMwrXHXMhxV8j/4648uGrqO3C+WdKTGDx3ycs LAAMQk6ruk0vfcp+2ZSlGH+npb0+M3qiIViZKUMYiTZMpx/yDdIzoLJalFjgFcl7uOlk oVAjqcBsMgCKCgqjrCuFk/0+tW1CCVFmX+9APPvmweAsCl0v+iT5/P4bpJhyhV9PcEa6 fNyVSuF+lU4agOgME9XVrV1wW3oXuCJN5GZQs1G/nNJgPFTyCuCS7/lmlgTPiN2GzNJD 27wKV2jr/ivZ2H5iGqPfK+JElu6FnbdUZueY8CQh/4SR4FJtZcjSiHccCWkOrl8gPIE2 E5Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711089944; x=1711694744; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bZod9FP10mmkUa93vUHm2PRSdkHtpevTJB03xjoBD4k=; b=T12+fN3cPlKAkKvV0HCOqhLVz8H5bqoVS/1gZ3uFTGigTZawpbGy1he1C1kIfRadSO Lhi494uIT80uIMRIsLbQ3grjKtISoenPTWeYhnoqeQMZNKbBrGy+yOyul3VKi7q0/Owf /lV8hbQWAMs1glg3TcN30ZIrY4quKYvcpFGvjANlLwULxXsFPlSxs1v/jUPpGIvht8ID 2pj9ruEqnByDTJe7/TfHS4/Hy4sP1Mkr8fXq/m3z1l4asmXcoNFwduT2FkQi9LNY1UsW fILs6AHjltFwLGZ2c9rwWyjvsAMQ7ks3G2g5ZdqZozGap5TpabRtjbf6qMqOD/e5eREN OoSA== X-Forwarded-Encrypted: i=1; AJvYcCXsqXK9cPfrmBW+YT6nrH0FMBPtQPeHP/mN1XSfamV/MdMa53+fH1SbAXc01plNlzTG+NHHNasCJa00dw/F3lLd/Vrh0HZrVD5xtiNXaG09SBheqKG+ywWF0ksqf5Q3FoCcCU9oigyDrg== X-Gm-Message-State: AOJu0YxTH+McXFh6cv4Xqqe9HRJltqrO6/PCbrHZB1m7bAr7VSiMEgCu S21CcBVDGdFnnYLmHqgII8IvH2QfAeD7oeuAJbnkIn9RD5DN05oL X-Google-Smtp-Source: AGHT+IEvhheqdTHLtMcisH689/ys8IMvmi721V9abnrt00Akg8dBPfthvPkOmnuHkzcXFZpwv1Uq4w== X-Received: by 2002:a19:2d47:0:b0:513:a6a7:ac88 with SMTP id t7-20020a192d47000000b00513a6a7ac88mr1177483lft.14.1711089943870; Thu, 21 Mar 2024 23:45:43 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id e19-20020a170906375300b00a46bb8a44cdsm679694ejc.198.2024.03.21.23.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 23:45:43 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 07:45:29 +0100 Subject: [PATCH v2 4/5] dt-bindings: hwmon: stts751: convert to dtschema Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v2-4-570bee1acecb@gmail.com> References: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711089934; l=2153; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=SL6IFykbfJaWw2tZ5nEHGx/wGHJSnUvcwuO85EyOS+w=; b=CkO2xlSGeh8rTae0P/EWaWMHbfjClGj75C0xpe4LCm8S42cYNo4Cki3o6uosOvj7Ud+oFOnrw 1rcW5AhWz8XAA2Wxug+GswK3/pTwD3BzJ2uSBHK9ZvC57hlShLBOKCs X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Convert existing binding to support validation. This is a straightforward conversion with no new properties. Signed-off-by: Javier Carrasco Reviewed-by: Conor Dooley --- .../devicetree/bindings/hwmon/st,stts751.yaml | 41 ++++++++++++++++++++++ .../devicetree/bindings/hwmon/stts751.txt | 15 -------- 2 files changed, 41 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/st,stts751.yaml b/Documentation/devicetree/bindings/hwmon/st,stts751.yaml new file mode 100644 index 000000000000..9c825adbed58 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/st,stts751.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/st,stts751.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STTS751 Thermometer + +maintainers: + - Javier Carrasco + +properties: + compatible: + const: st,stts751 + + reg: + maxItems: 1 + + smbus-timeout-disable: + description: + When set, the smbus timeout function will be disabled. + $ref: /schemas/types.yaml#/definitions/flag + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + thermometer@48 { + compatible = "st,stts751"; + reg = <0x48>; + smbus-timeout-disable; + }; + }; diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt deleted file mode 100644 index 3ee1dc30e72f..000000000000 --- a/Documentation/devicetree/bindings/hwmon/stts751.txt +++ /dev/null @@ -1,15 +0,0 @@ -* STTS751 thermometer. - -Required node properties: -- compatible: "stts751" -- reg: I2C bus address of the device - -Optional properties: -- smbus-timeout-disable: when set, the smbus timeout function will be disabled - -Example stts751 node: - -temp-sensor { - compatible = "stts751"; - reg = <0x48>; -} From patchwork Fri Mar 22 06:45:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599676 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C982171C1; Fri, 22 Mar 2024 06:45:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089949; cv=none; b=fFIavbxMEbq1h3TjzjQbAQxgKBDlRmHdZklCoSqkZKGW6Rf5IBXhPYb4EVMnJq3gQMS1TyTqqyPBs6+2/MLk055C4wrAogvnWBfEuPLJ9pvmgtgsif648hYMzOu3wvVQmpfPp2GUshQ1fEtMBbfkBYFrL98UVQSdPhcp5w8YQnE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711089949; c=relaxed/simple; bh=4rUBSyPV6ao55dHemnHVuLdadgQFFoAi54Gb6HBKVTY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WTsbVJXKar/wHmmopI4cT0G7p2NdHgmatIomEL0WQYSYzulKh5LrnrawtsoFf4g9Nu2Tgv42lrIVLc0KHbowHlFfTeN1QerX+WyHbQv3weoFyHWx6AjAR4uY+wlBzMOKHPcD70UDxkpjKiotx9bQQegYIi7xwjPbTTH6TABJdIE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kjkHHFTT; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kjkHHFTT" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a44ad785a44so209611566b.3; Thu, 21 Mar 2024 23:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089946; x=1711694746; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=k0ZX0mSNtR84zaDW6QrVcacYADFhCeQmdayKmvm0d6c=; b=kjkHHFTTdjABgPaMb3QPIMWLfVZGR1031sE8cGw1Nlzk/Ffr/vMEYRb95mq3QPr7+k wbcv6ZxfyLR41mv+hxJ4Jt/xSzB3aQVl6ioa3d0XdIJz53I0m2w+QX1MeRTh/cHfwx8s n7sRlcAyA/9rnjkYXznIwCv/5zhkaq5nPJ07EBcwQP7AjzNG7o4ko4nhvL/BeMBK5xfy iKn40tjWnEeMu7AzXcSGTK0XbrVwf3MkavEUbNs3VtmHYk0rdBxY3mbZxRBjfrZ2AdcZ q9vzJEFVuGE8/ykHKlw3M3eMn4k5wjS+kP7RRC73Xzq/gOK6cCYzZLCnulA5CFBJK/+e QIxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711089946; x=1711694746; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k0ZX0mSNtR84zaDW6QrVcacYADFhCeQmdayKmvm0d6c=; b=egI5H9cWcRBjDUiPklxLL8D5hmj4m2hpe3WCeJ+rLINS2qsxmfcVwRn8s41ieDok2r btqEPfyEInmB+8TUzNy0YKet97dvkoSjV40vYeeOLQiPlWWJ1ODFVBBiZq8AcLnQd2K5 IhHwUhu3V2aavc4CeKJWvHXXdLef6swoxdIcM7BQeBncLgZtdzOWxFbhHGibZsyiSTk7 93WNo7ACr0NRq1CWqn9mDf1QGpoN0rHr8Jewzze+OsjtnYxKDH8c6DWzLFy49C5r6vZO 6tnclcrtJjiZpZD4mvvOxWIDJssW98e5zk2LlWPIPWmgmMjC6/lgMYciolJTF4VEDiG/ MEnA== X-Forwarded-Encrypted: i=1; AJvYcCVd1P7S5u3c42MgtsSdYjyB29UNL9XdD3dgm5tI46DCtP82OSHLAfBEbVFKEvv8GM/BD+MSlgfNC27XRE7UJluB3L66tZny8A4EHF3vUfjfcQ/G5Svb6Dz44zk3R8c6HuPUT6kzQVJHPw== X-Gm-Message-State: AOJu0Yw8wfQ0tuCA5sXw0GcatSDCe9DpclbeX5Z8dhf+upUhZGHpWkI7 8ZhRVVzpbvGNzHtoqWTIlRRtjwMHfSJjD2ZWt3T1CI1sB6DOWEKx X-Google-Smtp-Source: AGHT+IHWTwuW8UIUUoXFTdiYrzTtIrzPGEkZkGQ8lAESE+yEAIlcPzGhuzwEM7g3eVOt5C0rx4FIKQ== X-Received: by 2002:a17:906:38d7:b0:a46:1d4b:d81 with SMTP id r23-20020a17090638d700b00a461d4b0d81mr1014632ejd.62.1711089945564; Thu, 21 Mar 2024 23:45:45 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id e19-20020a170906375300b00a46bb8a44cdsm679694ejc.198.2024.03.21.23.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 23:45:45 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 07:45:30 +0100 Subject: [PATCH v2 5/5] dt-bindings: hwmon: ibm,p8-occ-hwmon: move to trivial devices Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v2-5-570bee1acecb@gmail.com> References: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v2-0-570bee1acecb@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711089934; l=2051; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=4rUBSyPV6ao55dHemnHVuLdadgQFFoAi54Gb6HBKVTY=; b=q70/gdmXCi4RvGIZ+Icn9EMX+Srdt6GnUw1wapHGSfBb5rKgsJsBrfeEQjXEbzRQpC0yBmLNL yBJQ7F88FHLBJrbYbGpP85x5g38ot1Fi6LVn2jSQHMJlPTSEvepiCto X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This binding meets the requirements to be converted to dtschema via trivial-devices.yaml. Reviewed-by: Rob Herring Signed-off-by: Javier Carrasco --- .../devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt | 25 ---------------------- .../devicetree/bindings/trivial-devices.yaml | 2 ++ 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt b/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt deleted file mode 100644 index 5dc5d2e2573d..000000000000 --- a/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt +++ /dev/null @@ -1,25 +0,0 @@ -Device-tree bindings for I2C-based On-Chip Controller hwmon device ------------------------------------------------------------------- - -Required properties: - - compatible = "ibm,p8-occ-hwmon"; - - reg = ; : I2C bus address - -Examples: - - i2c-bus@100 { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <100000>; - < more properties > - - occ-hwmon@1 { - compatible = "ibm,p8-occ-hwmon"; - reg = <0x50>; - }; - - occ-hwmon@2 { - compatible = "ibm,p8-occ-hwmon"; - reg = <0x51>; - }; - }; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index e07be7bf8395..87b0dd9b0734 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -126,6 +126,8 @@ properties: - ibm,cffps1 # IBM Common Form Factor Power Supply Versions 2 - ibm,cffps2 + # IBM On-Chip Controller hwmon device + - ibm,p8-occ-hwmon # Infineon barometric pressure and temperature sensor - infineon,dps310 # Infineon IR36021 digital POL buck controller