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: 1914717 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DyQfTMut; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V1CX55ptMz1yWy for ; Fri, 22 Mar 2024 17:45:57 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DyQfTMut; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1CX51f1cz3dXc for ; Fri, 22 Mar 2024 17:45:57 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DyQfTMut; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::629; helo=mail-ej1-x629.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4V1CWn2NCdz3dRp for ; Fri, 22 Mar 2024 17:45:41 +1100 (AEDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a44ad785a44so209599866b.3 for ; Thu, 21 Mar 2024 23:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089938; x=1711694738; darn=lists.ozlabs.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=DyQfTMutAERzfPNSdZgyhPv1w5q94C8kuGwAZ1emX6/ppN8mY94T64edZCN7UKBRqc LoxQAchukelfbS1D8ebWsQ2IyV3B2HwOekshqqhMSQiJIv6EUdR9K5zEOb/p3wqaupXo mRMeNXn1naAo+treiAJECxQuO9w0T5XqtJUEJiJvhYK8FL3hKnbK5wPSpeVl/tEzyXNf yMaRyH5nCO6zzp/NzwOf7PpA/RcUWVwyGhMNNmC3PRGlsXTw7I4v2dWFp103M386rIsp L9bxFIENBEMdQYR31nMmu3KNdqm4enKg+fJjS1UJSKwzfv/b6Jpx/zaKIfEEqZq08XJc WVSg== 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=va+DlZ4ytqOrL0h0eWSoCCMS3h6P8lOSCF/16y2L4Hu3tZb6tow4eG0kjUxzw8OW7c olNiNvgZnqGdw5CdscXIGrQ/P0Hzs/9FaD9mR3b0qDo2NzDqtTbvWvW1oCXr3/07ni7K X22Em3uVQ4xoFW2SzbMlM2/ByXKC1GQckBxXtUAOLByLgRvmT5e1q/3S8N0d0YJgzutb 03lyTMDJyDyhC8KnXLcIDNIewzVM8hT2drEsVIe4asJL6dJnuRl8ebC8owBTkN8QhjG+ 2t3borVxniMLIoYpO3jOEqBvOijK3YLXKNIXihPR/9QsW7zRPuopNMTQ8z7kRrsSs+C5 l0Gg== X-Forwarded-Encrypted: i=1; AJvYcCXhlwKS4U+h+Q6fmfuKPEVbmR8LRD9E2qLvbXcjyphnfg4zEiz45NQCRn4oqR7bR/rKk/PM+wOIDkGFAbhiaSDJFAu45S3NNox9Qt2N0Q== X-Gm-Message-State: AOJu0Yy/Z09eNb/rahrClBv/INguFwjq3BMg6MJptDxAlSB6/pdAAq/b QHkDFP66RagHW/UUPSNeFDX8m3XwGYCW+mZxGiGXCzmMbgHn8QxC 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 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" 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= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Javier Carrasco Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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: 1914723 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Q7CF7u72; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V1CYh1RJZz1yWy for ; Fri, 22 Mar 2024 17:47:19 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Q7CF7u72; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1CYg4PW0z3vZp for ; Fri, 22 Mar 2024 17:47:19 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Q7CF7u72; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::631; helo=mail-ej1-x631.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4V1CWr1JtSz3dRr for ; Fri, 22 Mar 2024 17:45:43 +1100 (AEDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a46ce2bd562so241878766b.2 for ; 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=1711089940; x=1711694740; darn=lists.ozlabs.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=Q7CF7u72v9S4hFkfEVACpNck2JQwB2HDlPmx+g+/U1k16pnKcZvfLxyQVp7b/1DeYm WKO+zEQ63nUJtA4zkFx+8uKqlG075TrBSlAbeaxUJWjcJV/WDHhd+dHdVGpPqsJRACBf JKT7yCeA5du3xm8+XTI34uzwB1bk9pq7UfQxiqUfZuo4mlqHc586LlptMeFUyATnTuvc VA0O3B3R8qicrYZbZpDdtS965D7iltWhEDcUjgnPA4GA4zO+eLhkDuGHBm0/cYPfqYFb bAKChzcpUX8J6/pCOLfQLFFaciu8MjSJ/rJwYOhxKQKrSAbzvI23dSmTxFCoi1/3QYV3 1qPQ== 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=Hq8eQHxOllTFOLZx+46MnXQAmo40IsmAlHJZdULeq045Uz8G52e6VKulG33g9mzkZr K4I6Sotaq820pMDpnCbmwW3YcwL7pqBci3e1VDNR+mnEQwhmQGAHDep1uEUNKG8TkjJT 8dR3mZfF75VuoHO6ECvE612UaJQVQACfgoalDZvnUvs9rL+Lgdb/2dKEx1hSxRElr/F/ 6CiSiXaAarNspYPqQOX0Th1ECqX/7VIuexD/xfc7wSdbo5VTkvYe1tp2/bIO9H1l9z8q /L/Ri36BMXzTcEV9lynxGMmr8oL2GPU3vyVYNnMu57H6Iuxm+rjObKnJk5dFSFMaRSnQ PHdQ== X-Forwarded-Encrypted: i=1; AJvYcCUpyWzHUriu25wNuzz0B/FPYW5bEJczyJQ+yuGKwwClhqqTO4ZFHx6SatmarlrG4nsPeCexMgKmsZRDDXtfNdPYVZS07T0+KVfVDjJ7ow== X-Gm-Message-State: AOJu0Yzoz7d/oUOsP+xHRreNtBhjavIAXOkDSRscdZoXHSU4m3ihPp5n jkCyJh+7BjU4w4RZdfl5wEysDH+dCsggRmZKsdkQoHPGjBS8FLnz 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 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" 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= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Javier Carrasco Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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: 1914724 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=OQuO8OtT; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V1CZc01G4z1yWy for ; Fri, 22 Mar 2024 17:48:07 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=OQuO8OtT; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1CZb65Cyz3vZG for ; Fri, 22 Mar 2024 17:48:07 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=OQuO8OtT; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::52d; helo=mail-ed1-x52d.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4V1CWs3XxXz3dTm for ; Fri, 22 Mar 2024 17:45:45 +1100 (AEDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-56be0860060so385702a12.1 for ; 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=1711089942; x=1711694742; darn=lists.ozlabs.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=OQuO8OtT7DW8ZMEez30CB+7I5jFD4POJa6vtjHxZjOLa4O6CYTq8a0QIlZOAQhUOVV bwb/U6SlLBORzM/M88PHo5WXSC22niFnj0GYG47EScfcg0jdL9fmc3/Wl0BWC6IOQUuE JPgp6RGMFRh2mXoatuoS+Vu/MgFljTYkK44IPhTltAMKPzA6DnWaoBS4WDovgMVvysso 02S4X0jLeOyQDRubGZXN8q822tu5vNsNcCbD6u6LgBZUxFf/rYq8JnopHYJA9iV19Fcm 6LF2kX3hzOxoVwT5Hbc/An0nlvSzbnqV+0Qmhjrkvf6IVeQj5he0DhCltbD8+flwlnml 9ssw== 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=jDJljrcsGEGoA188Mda7zY5oW//EVAhbFeDqLxjXa4mjQI4e28LJidadBfJLGx8Jsx yVne9RsfiycRkKcueCNYnTO33fJQJbrWD7u4LzVoZTVvenptQA74tGfrAu8pdq4XZ+eF +L5L0uer2Xlidf1cty+5rBwNAX7RXKkisXlxqtAQJ5TsH/FVomLnZfM708iLGi4xfnj4 +ly/oANLouA/LoMnXJzy7mAp8aHmS2/n2S8rU7B1JhZEEWdWQRTiTXGhe9vcUkqhsMG3 NgHJOisp4pGyguKufdgIfuSNiLa9CJIBuIHjjiGKS2ga7NAiN9Zokm05/ZvYcD2dPuI9 VSRw== X-Forwarded-Encrypted: i=1; AJvYcCV80HQZapjtvt/KQTWHiNOZPA6KKPVV7sr6cAK7zc/QvkpBYPfFefeSqIv6TSdmO1+NrYY+RtPhzoRPfCLkMbxFVSwpRy22VgE9KMLzbw== X-Gm-Message-State: AOJu0YyazDe7PTCd85mNR65sT+nLVeE43gZ78G2IWfenNzkrjBniOJy0 KX7MyTHdeVQW9tL+8kjqckTjY+20TNenQfOQfFkq2hRIvkC4T2FU 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 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" 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= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Javier Carrasco Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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: 1914725 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=QDpJanxc; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V1CbP0vMXz1yWy for ; Fri, 22 Mar 2024 17:48:49 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=QDpJanxc; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1CbN6r2Rz3vdq for ; Fri, 22 Mar 2024 17:48:48 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=QDpJanxc; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::12d; helo=mail-lf1-x12d.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4V1CWw63y2z3dfM for ; Fri, 22 Mar 2024 17:45:48 +1100 (AEDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-512f892500cso2067080e87.3 for ; Thu, 21 Mar 2024 23:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089944; x=1711694744; darn=lists.ozlabs.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=QDpJanxcubczvPqjVkMECExWUTFO/ZVeLfScdwnyjV5MFBCGJgqzZIvtYBP8LlO+Ks V1ADWCY75zTtWoB6vmWF9IqjonQX2C6N8zFE9+jcxBhCCT5arQJMd9RqhqYCxGGiqV+z HTZKRL27tc0DYhRzgUhrt6VOvX9GjTjrCbWfJICpFUaJUX4fX7dA4/BA3UaZtaUP60Xo I7Sy0BDL9zYLAPDxzvRg8M/pOiLtDOOURWaCa9sCoxa0stecR23HDjivQzgNmQkZq6Nz 1W91gO/ss3DRvjlr4AIjtjCr6jOQCSsq1J/GLRnAStMRlFZXKT2GmqWjwPaOMdxQiHUr 5gdA== 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=GB2KyBbmhR50Um4oLdf7vMiyfgwi5v6XM1Z4nTEIh/u16V6pGE4QHXcbXdKRce76RO SOe2Jkf4C19jw0b+FW9/PBYDPtnz9YdWAHIG7nyTGEaw1ehUlP2WJwExRlZhNotFO9uV LuB6oZ7h2CGargoZyhLvMXOQnk+jmk6smeSgA6mLkil6EQwlHPg61BOy6ac5vQ2zTpzD gmYlPvj6Sbs+i2ktNJNAsksn/7HaBVGKaAzRfIgpM/41UD8D8jzCzldNwKxoqr/z6w5d GgvHbKpQjoKB7ZAhBxo/LtoRb+RFYGFxmWZx1NnbXycUdbCyuabfsX7mrivoFEpJt+pS NMMw== X-Forwarded-Encrypted: i=1; AJvYcCV8LdPR4KljtU/ua4Xt0y/P9fCfv2P7s6AxuNOPXUYmQUP/wjsEnAbXUmmuIBhgTQH1+/xbsjdo8URdVS1FatoGH8t/ze3ULSDySQjl5g== X-Gm-Message-State: AOJu0Yw3wCqX8tJB7bP9i0pcOD9a5ZNTGbMSBCaW71zZxQ3JSI3EReAB A8rdTlQtONPRulN7MuWTSSf2goHoY5viPHJIQUvh0Boyj5sgI1id 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 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" 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= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Javier Carrasco Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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: 1914727 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=D6yAueBb; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V1Cc96dtxz1yWy for ; Fri, 22 Mar 2024 17:49:29 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=D6yAueBb; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1Cc95bpyz3vcH for ; Fri, 22 Mar 2024 17:49:29 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=D6yAueBb; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::636; helo=mail-ej1-x636.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4V1CWx5tPqz3dfM for ; Fri, 22 Mar 2024 17:45:49 +1100 (AEDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a4715991c32so175474166b.1 for ; Thu, 21 Mar 2024 23:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711089946; x=1711694746; darn=lists.ozlabs.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=D6yAueBbxJcAabWY05Ma2qMehfurEcx5Sw3amvq/77cXFREp4MUUme69uMbwCBV7Bb iG1dgICUhRZGfk+0RxU420IPsQUrChNp0vwhCFJbfawJfWVg9k4/5Sth3VjYilo0yRQJ xr5kNlr6X50nVT1Q29pz6WeG7yLJByrRAdGRrDoS0COxLiAQAH6FAewGjSSoZML5ZQwg WA3BGneDz9HgphDLHizaebfaSiZkJ7eTQDSqtlfuSVbder5M67xTJ3/+UBP/rwkiVwkc 5cQdyApY0AODpAC41m4vldsq2YUU3cKq468hEwx00pb50QWIcKMDgg40hMp7sN2afPnU pm6g== 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=huzvVbDRn29RyCbD2xH5QWEGmAoXi0P8rQpHwSNOMCLz0Pm95EtbVIjnkp/rgZAqXM BksmhmQnhfVRsb48qS4kyyoxNfhbOeBdlhQKUjzwmaxaC3HdS4zOfAw3ocFrTiGIP9MO CasHKQgh4NVmSqHSHsS+zGqaV2xNwBq9uF0lAfrluN9K6QxcNMTcks7J4SWjzLUpz4kZ fYfDLpQxEuY2vXKzuXgO824tfcnHyJJSIlzleaJ0GA9WEFowKdh/xJvmg83Ori2fSF3p Gna6k/IN8ZcnX5eguQCoWtc6vq2GcDzPkFHgWdxIR0OKbK3DAij1N7fHmoRswPKYgMef XXnA== X-Forwarded-Encrypted: i=1; AJvYcCX3AJWucysmliqLznNY7bYoq6sV3vNP6HuWvaNBDm5IaheQ6zyHqihKsfOW5bkKIjuXrV+Sxf6mdNULF5+6c9BZg99X19KcwpueS59OnQ== X-Gm-Message-State: AOJu0YwyruXhtAiYxIcxCGBbZhOIrJJl0VSu+OsNIgvE8VGKltoPeO0c mTj/0q5NB3/24yKyWp6ahIUxG7qjhUuw70rBruJDiJ0fxBl1I8uw 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 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" 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= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Javier Carrasco Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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