From patchwork Thu Mar 21 18:43:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1914616 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=dABl1mke; 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 4V0ys93PYKz1yWp for ; Fri, 22 Mar 2024 08:14:53 +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=dABl1mke; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V0ys92NVgz2xX4 for ; Fri, 22 Mar 2024 08:14:53 +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=dABl1mke; 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 4V0vW61dYPz3dRJ for ; Fri, 22 Mar 2024 05:44:01 +1100 (AEDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a46f0da1b4fso178435266b.2 for ; Thu, 21 Mar 2024 11:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711046636; x=1711651436; 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=hXrRijFskjj/x6bHaCTthhZrS7dvFVKx/yThbyuTabM=; b=dABl1mkeAonF1Eeza03PIHcD0eWsuQJOwrZQzg7yTxO325nIl85a0iq+aZCuNm5fcm REC8O4ZYEEnYTc0sN9XZYjlZqh02rqMUzuz68DqkEs0XQBj8+1wl9cNTiiKsULAFfOT6 ZqAgSLHO9UDx1yZha9o7puFnrFvfXkAJhrsRnZejQSxnfKlydU+r+UPua7yO+K58V02C 2hniL+l1QVCJccmJkZY2X5x4qhshLiIahxxxM/4geo+228hmXwqQ9cmgvwRSzNkF5Spv 2ByfT+5S1chSVvUUA9SPmInKqEGI1GuqV430a6tC+8GpJ9vbEvgYX/bfEaWJOzgdXggV VDjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711046636; x=1711651436; 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=hXrRijFskjj/x6bHaCTthhZrS7dvFVKx/yThbyuTabM=; b=dBOowtE0+HyWCHKfRzWveRyPMwA+waNUJvFXkd9t3Uye+yJJTSNGcCs8l0kWR4tO6/ Ay4CF9L0VRJNhhaMwBGjPPxDelxVkNdnMOzkt8Da89rtVbvrV49MxGiFCYC6J4IX2Kys bXx1CHpKiFBwP0hlf0BkWd+nxNY4ZF2oI6Pm17nwlB0P/hxky8in0ZYvJFaa3gaYMAxj XW8pLWludBwsiZB2bQhBGjP0UKZqGNTEm4DVNqITPS+8w/fc6uPnQRFtGfTmoR8eLlTr qeK67Fu4dLOQcfuoX/TCyFjA/rQjAhLwGc2ZIoSBN5K22R+IrW54+n9hVy7NGabZehb4 YXow== X-Forwarded-Encrypted: i=1; AJvYcCWlGiYwgKGQ5f0rg8NhX5csWkXg4JJngCUr+J2ULjXaBM88Aut7chJ4m2XAKvtQ0d91GRK3Y+EYMbYmzimrp3McYrnCUvkMBuSDIRa6mA== X-Gm-Message-State: AOJu0YxhDm2Ug7yk7gFHDpWcogS4kWZSPBcgi9llWc3rrfENwaCvULkv RRvcUHld9TVxL14LZ0N7yR2VoRI37x4TJquoyyLlfe71OmoZ+3eF X-Google-Smtp-Source: AGHT+IG9T7BGcTdrPesGcvj83c6iEs3oewPglnZiOuu/XZQVzeB9m7qcgDvuSRwkRNXDR4GMAkeMaQ== X-Received: by 2002:a17:906:fa92:b0:a46:d001:4ac1 with SMTP id lt18-20020a170906fa9200b00a46d0014ac1mr186929ejb.47.1711046635918; Thu, 21 Mar 2024 11:43:55 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-7db2-5855-2c59-b89b.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:7db2:5855:2c59:b89b]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00a4576dd5a8csm188627ejd.201.2024.03.21.11.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 11:43:55 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 19:43:42 +0100 Subject: [PATCH 1/5] dt-bindings: hwmon: as370: convert to dtschema MIME-Version: 1.0 Message-Id: <20240321-hwmon_dtschema-v1-1-96c3810c3930@gmail.com> References: <20240321-hwmon_dtschema-v1-0-96c3810c3930@gmail.com> In-Reply-To: <20240321-hwmon_dtschema-v1-0-96c3810c3930@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=1711046632; l=1883; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=KZoVHUkOuLwqSF6Q3U+Iq8ld3UyOQ5Eh+x0ZRakG7AY=; b=63I2hYN1+cDH++nFgodgGj/vcHWjnLPCypd4vLoj69cY3p4KiaCOMN8vcvrmaXuAFJb/T+8du i46xfcAQXp0C/JkOEosPup8wgArKbc+IndvOX04hVdlUTNQIMtAXirw X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Fri, 22 Mar 2024 08:13:59 +1100 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: Rob Herring --- 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 Thu Mar 21 18:43:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1914615 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=MgYVBu/K; 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 4V0yrN65kvz1yWp for ; Fri, 22 Mar 2024 08:14:12 +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=MgYVBu/K; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V0yrN1d77z3dW1 for ; Fri, 22 Mar 2024 08:14:12 +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=MgYVBu/K; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62e; helo=mail-ej1-x62e.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 4V0vW61k1vz3dTs for ; Fri, 22 Mar 2024 05:44:01 +1100 (AEDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a468226e135so165773666b.0 for ; Thu, 21 Mar 2024 11:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711046637; x=1711651437; 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=ZxQdV0gSwFea/wvwZN65K3fXrbPQE6rK+EuyPQNgzgU=; b=MgYVBu/KRY9dzcXBKafut4kAx0Xic7r+uUyFTh6ChW/g9gBI5Lz01oKG+aXy2P61RE tLEqnLm0X2Yib15l5x3AdQIan+4PlCFO5Bk0vGbwUOvKPHShyWMum0tISlHKTr+nB3k6 9zei3FpORELdhhFFvSpX/GHCpLMEIIPCrrMcUVTBJCeqFCXfP2cxfrd/PGEPluHnKles X7LdwCrIHnLp9Yx8Rh73dNhEx79C3G7V7Onk2ZkDKJHn+E/xJlPoPUL2/wKHRYMXI3pu J3r91DuLj87uHwnixCeusyFQUPmQOdis83cQ8mFhfiqNy+ceh82UL7zSmXWQ5scJqufI Oh8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711046637; x=1711651437; 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=ZxQdV0gSwFea/wvwZN65K3fXrbPQE6rK+EuyPQNgzgU=; b=XWHAznHvYhWu5JRD0ZJMxYAoW2y59znjSB0dT//ST6qsrClYlNmcIrQbuefuJqkGu3 nsnTPlTTpGyFeKx+UFJM8wdzplPSz6MVm7tHjn4551uMAdBsF4o6oKEe3KLY2SzKLk9Z jt1Qp3Jjt8iaHEmriGu5g9UEhjpWWXcZX3wb+fglJF+3APyNd87YL6YHHUzEtkSK8X7x JcDIAzyGvL2XZckZlUeYJHFMB+2kL9MRfDrZHBeRlqSVKWa3E6LZsQKCdZBu7Ty+m6WY WWXDBEilJ+ipZjT5PD5r23C4Z6qLee1Q9I7NXUJhTxNiEp+tOManvgWLGoev6RgBggBn Bzjw== X-Forwarded-Encrypted: i=1; AJvYcCWtaeet8kMxepX1gq0gChfxFxUlezlQMIxSw687vsDUjbVXy8tFu8g1vhKcuEMlcY8mvUg15/tL4iqExEdzzY3exgPkOWUC73bu/LX7oA== X-Gm-Message-State: AOJu0YxkWzzEPJ13DExDZ7C8Hqx9cBYPmBNzT9/OT8tEvcAtPC344LR9 fXIoBZtpZ7VwFy0jczzDmBrKhAe33uWNAW4wXFjrlKfuMlM2kOzZ X-Google-Smtp-Source: AGHT+IEG3AMGQ1osr9ItXCZUq1B19nD5/fEmokg4CRjx7D3N3zMzsZXK4cQeC/aBxwlB5SfDdpP8lg== X-Received: by 2002:a17:906:fb06:b0:a46:b4c7:341c with SMTP id lz6-20020a170906fb0600b00a46b4c7341cmr203638ejb.58.1711046637340; Thu, 21 Mar 2024 11:43:57 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-7db2-5855-2c59-b89b.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:7db2:5855:2c59:b89b]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00a4576dd5a8csm188627ejd.201.2024.03.21.11.43.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 11:43:57 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 19:43:43 +0100 Subject: [PATCH 2/5] dt-bindings: hwmon: ibmpowernv: convert to dtschema MIME-Version: 1.0 Message-Id: <20240321-hwmon_dtschema-v1-2-96c3810c3930@gmail.com> References: <20240321-hwmon_dtschema-v1-0-96c3810c3930@gmail.com> In-Reply-To: <20240321-hwmon_dtschema-v1-0-96c3810c3930@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=1711046632; l=2489; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=B4z+N7ahUY9ApzqDTqzWOq9rCMknJMon3IQBcjSmS+0=; b=oqyia0IGym0y9rYVCkRgAlrQNxtFb7uL+qIR3kHFpYZ4LBCMWtK9h2dIytpqyKwpEpo0Nu34S 7L5GmIk/5n3DJ6sb2wPxsv1/D2ozM6IoFmN6E47+RW9/n2CiOoHptmi X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Fri, 22 Mar 2024 08:13:59 +1100 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 --- .../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..27c949b94c7b --- /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 = "st,stts751"; + 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 Thu Mar 21 18:43:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1914619 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=Vk54l/xI; 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 4V0ytm0yX6z1yXy for ; Fri, 22 Mar 2024 08:16:16 +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=Vk54l/xI; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V0ytl70Xgz3vXN for ; Fri, 22 Mar 2024 08:16:15 +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=Vk54l/xI; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62a; helo=mail-ej1-x62a.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 4V0vW673nsz3dV6 for ; Fri, 22 Mar 2024 05:44:02 +1100 (AEDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a468004667aso196016366b.2 for ; Thu, 21 Mar 2024 11:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711046639; x=1711651439; 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=hjH3xWAVxcLksXCnS4n7afqAXMFnAXHbQLt/fzJwwaQ=; b=Vk54l/xI0tZQTv2ysJaqcO6ZIc23g0nXw35HPTyNj3jIAxydArvzRML86hbu9jZwxY yf2QW7gwNwqIm38D99mwhpxG88Ep5IFpu04Mrh6ziazJjGN2f0lf4oHisdyVMXB5UlLC MQiOZr6KNdRNcNKi/dTuUjoMago9Nnb4x7T3CVHwR+y2dKanDaFsnRVPHOymZtwljCR9 gmVB+yqbvQLK7i24+V2T+1HVKgC8ubTa/8aI6nq+HYAJPNjuFG2wILZnKVVsmmoPphtu I8gs7O0mEXbFL7c8JgWbTHgM2AYn0yPwC7+1Hk8yDZKf3pwEoadGXaxXs2ZIGTqUjUvP ybtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711046639; x=1711651439; 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=hjH3xWAVxcLksXCnS4n7afqAXMFnAXHbQLt/fzJwwaQ=; b=mIkcPkwg7GJFOeMv7vIqfUH01pl5BUwBhvOkKbrcfDUBd+KnXUBNGoWQj7YsnQyn8E zvOr1qC1vE40toJ45dQeNnDf4z3LfJqqotm70B5b8aa1VjC2gchfXD2wfudNOFnC6pjR XfNYUaxLh1uH0RtczF2CatSvWX/C8CFbKCr9I4qSgTY2CnOJVpF3R0L4F5sau9H+TQNw EMLxGpAHPY7BDxph6UjwMzR5vNvv+CI2aDOk0hx/gLVixNVNmOlEkwtk6EssWFocYnGk 3sr++c9taDj/qDJJos9ibRHu9KcGHCrBIZbfF8ePFCtloyNJnvrP29wfUd+s+QT+Sa0J zNQw== X-Forwarded-Encrypted: i=1; AJvYcCXfSiwHZ9paZs9pK4ymjmJFD1rSn71pGfNmrOrzm9AguCQDOeK+e32L3+i0ia2N/tyB6WPrtVXN7BkbVwchs030+1EQTkMIHCywenaYjg== X-Gm-Message-State: AOJu0YzY9W8a7XHkmisdtZWRtqwpGT/7xGLZj3J3YaVx7TLSxUQEqfSm 9I7mLPu5pm69Df0vMbJ063fealNaT53K4t4y37MHoCHw8wexoeFG X-Google-Smtp-Source: AGHT+IEyc+V2rYgEcWFTuNuI3kDNAkEe3lfiXa14/sba7m/sCsfv0r/xLVN623itYwLZeUtC/K826w== X-Received: by 2002:a17:906:1387:b0:a46:c8e2:40f6 with SMTP id f7-20020a170906138700b00a46c8e240f6mr197265ejc.1.1711046639107; Thu, 21 Mar 2024 11:43:59 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-7db2-5855-2c59-b89b.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:7db2:5855:2c59:b89b]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00a4576dd5a8csm188627ejd.201.2024.03.21.11.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 11:43:58 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 19:43:44 +0100 Subject: [PATCH 3/5] dt-bindings: hwmon: pwm-fan: drop text file MIME-Version: 1.0 Message-Id: <20240321-hwmon_dtschema-v1-3-96c3810c3930@gmail.com> References: <20240321-hwmon_dtschema-v1-0-96c3810c3930@gmail.com> In-Reply-To: <20240321-hwmon_dtschema-v1-0-96c3810c3930@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=1711046632; l=541; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=WtXVHWYckALrs2tiGdx+CdxFz78VsyEPGAXNNvu5zss=; b=bQuEUQ397vzy8Jfx9LXE1DLb9HcUz0E9hVk1DYfWLzvdIqRa7kwMM7XS2iVsuxw1M9Jk1I4A/ cv3JecbM8T4CRJR4jtV7jJtpUQW1Gt2GFqpZ8rXg2nQ+VqWzFO01uJK X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Fri, 22 Mar 2024 08:13:59 +1100 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. Signed-off-by: Javier Carrasco Acked-by: Rob Herring --- 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 Thu Mar 21 18:43:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1914621 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=S0y2jcUF; 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 4V0yvY5w2Fz1yXy for ; Fri, 22 Mar 2024 08:16: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=S0y2jcUF; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V0yvY1L1Dz3vgg for ; Fri, 22 Mar 2024 08:16: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=S0y2jcUF; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::135; helo=mail-lf1-x135.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 4V0vW938rMz3dTw for ; Fri, 22 Mar 2024 05:44:05 +1100 (AEDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-513d3746950so1661232e87.1 for ; Thu, 21 Mar 2024 11:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711046641; x=1711651441; 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=S0y2jcUFudn0jmjRHnhH1mdr4n4K/8OLeLhIJO2nhiuIYSvIFy0SYWOVf9cMeKqQca Q6df8B1gqJQclvKjjlz9uGVCybqcSig+gI3ZZFtuqPuVj83WS3CLbem75vqAJs0yWdhy /rQjGXaD+myBZX25bNfy52EtX83SYxYgUDMlCDUAkB5J3CrfnAsAlHW8/LAnbCTTk/CD aM56AT7a7QaRZ1lwAojFKoVc0D7OF1w2xMJ7GZIOimGTW/NbWTclh5MHDHcxa6r5Pl2C ItWbn3kB0wSjMcVYm6iYXIOrNn7/XOvNPB+ZY0ppaPQhVFzgHGgSdeP9R0HjdWJIIzHb D4jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711046641; x=1711651441; 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=Gc6bjQsAnUC6redR3lZKfaInAkaLWmPYsWbMkxkIPS5XgPFm/AoKLxIN7thGrGoBb8 Ut7h9bsaOD1oXi4R16kYP8u5OtvhTr2Atxs4gdXa6DVeddAxnlg6UYqWcMsB+Fxw5Pq7 t4kgvoz1LzlITD8REaY6/IgPDAbDlPpsgYoEol0DozRAiaYlRkCCiRheOoHG5Tk/dOMM pmTFsntRlWdy3iTPbFe4oJnujYBSWSm66sXUKzP921CO+EnE2pnOoncbtYnieif2gxgz o1pwn0U8GpMoT9qss7o3XzKwQxGL9qw/drusUSd2VfoFLtxhZScR86+huexZX2a0qoa2 Ertw== X-Forwarded-Encrypted: i=1; AJvYcCVWoaT69x3VnD1Tz0yaWjMcCQxU/EbgIXxmNjZs66+Y0qi4ZIsxC4GByuqTSB7/ozd+RK1rFumbNsQMgtpBZ3dJD5qfoNNtJKI2xU0S6w== X-Gm-Message-State: AOJu0Yy8SZDWeydabWzkumbUZk68irzpnPaNN+Ba+uTONGZ42F/7swko LWcVmUqo1GC0Bt2gZ2BsVGcqDZysF9ldgcful+HgqD9K+gYGrEgx X-Google-Smtp-Source: AGHT+IFm+lPaPah3aU9llD7EleeYDcjEK0aQBz65oztMXNAemS6XipbJkF1x1Cl8Q/EmmxGIB6bBkQ== X-Received: by 2002:a19:5e55:0:b0:513:c60a:5fc0 with SMTP id z21-20020a195e55000000b00513c60a5fc0mr192787lfi.0.1711046640578; Thu, 21 Mar 2024 11:44:00 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-7db2-5855-2c59-b89b.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:7db2:5855:2c59:b89b]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00a4576dd5a8csm188627ejd.201.2024.03.21.11.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 11:44:00 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 19:43:45 +0100 Subject: [PATCH 4/5] dt-bindings: hwmon: stts751: convert to dtschema MIME-Version: 1.0 Message-Id: <20240321-hwmon_dtschema-v1-4-96c3810c3930@gmail.com> References: <20240321-hwmon_dtschema-v1-0-96c3810c3930@gmail.com> In-Reply-To: <20240321-hwmon_dtschema-v1-0-96c3810c3930@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=1711046632; l=2153; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=SL6IFykbfJaWw2tZ5nEHGx/wGHJSnUvcwuO85EyOS+w=; b=vuGSNmDWCGBI3R/HkrLqvea2y0JsHVO8pRszHqQINVTNy0Mz5yoK4xwonUQ5ZhBdIJrOy+5Sv 34YVfNecs3wABT2e0Vzp0zo17fwdU9eiJP+87R2dm0QCJU/BopLOpjG X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Fri, 22 Mar 2024 08:13:59 +1100 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 --- .../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 Thu Mar 21 18:43:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1914622 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=Qe4+yx2Y; 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 4V0ywL3jSKz1yXy for ; Fri, 22 Mar 2024 08:17:38 +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=Qe4+yx2Y; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V0ywL2tNGz3vd4 for ; Fri, 22 Mar 2024 08:17:38 +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=Qe4+yx2Y; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::534; helo=mail-ed1-x534.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 4V0vWB2Wr8z3dTw for ; Fri, 22 Mar 2024 05:44:06 +1100 (AEDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-56bcbf40cabso1264417a12.0 for ; Thu, 21 Mar 2024 11:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711046642; x=1711651442; 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=HZP+gNYu/Kkn8nZAdI78yJHmmqjo52vGxGg0tHY+NoU=; b=Qe4+yx2Yn1ubpjKGcCyySmaGn87QR+pC3lLa2Fos7gc/0LIWzldtGdbbfNGwb7b35g lLYFgJ7jTKNaTn0lNsDVcbJCl9NXqllWvWulC7e3HGXqHmi08seqMaMdkD951918Fnsf b2/+ZqlUkASH87SOBRsaSgNJ0SnoBx/EIeqp8HVh83j91ziUCkUxIdDWVU31lCGZbInK fN30Ba85imy+NINFj3gHcuOGcJODKPcxXWL/DE8/6k6O9/wG/drWRE1dvFcrr4SmmsE/ 1WdgaUbyI21tcu71cHlVRf3xuuNV0OVRAL0vXLkA4cBnL84bSMHwzN1hMu6hns5eUkY5 BW6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711046642; x=1711651442; 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=HZP+gNYu/Kkn8nZAdI78yJHmmqjo52vGxGg0tHY+NoU=; b=t9u2jg4l6qTjm2yU2EeMA8QK2Nch1u7920P3Jy3ikTGrvhBZ/MFKbQt2D/nS2vqo0G dR4P8Br3KpFeIsFpg1NXetQP6feUYBdgghnQyjTtvq94jGN8YIQUor0qz8xz97x8OJqZ K69A8zFqqSqMq6/1Arpjp+WQrqZxj2k6/iRGODSKHjj+M9Wj4MrhZ7b/lAhTc8bPJqum NnKrMBK995f7otc0hoxT3J6G1znFLL2ipQPi68Vbn8AXT92XcqIroCFxDYEQqKh6c6Fz K4iYsS8apffws95/cqtjnnFHdB/OBr7vssSdRfToV6Bu3XIRCEGxKGtWOv0ANhcZztKE LZIw== X-Forwarded-Encrypted: i=1; AJvYcCU/I6QszOJlSM1ynnkUqVpwBNRHYm2obsGzTpmJrDEEqnuPkBwIrUB/6Uq1HknrcuCiMaro1pg32ngGTGLBKYzgr6aqZdWAte2NsUogaQ== X-Gm-Message-State: AOJu0Yz71nXOIpKzY+I/nKSK435cNorYfGo96l37aD+DYpR8Is7gs+9j NObItnzDXIm16BLtGq8j8QvFuFg4Yc77upIkS0Ozb83yUmckiToO X-Google-Smtp-Source: AGHT+IF7he+6hAV9Yv95T9uxTXIAXg6hiYAdZakGXqqD9dT16Y++ep9u6yth94oazmiB/4HP9J5m+A== X-Received: by 2002:a17:906:278e:b0:a46:f888:70b9 with SMTP id j14-20020a170906278e00b00a46f88870b9mr197252ejc.51.1711046642214; Thu, 21 Mar 2024 11:44:02 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-7db2-5855-2c59-b89b.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:7db2:5855:2c59:b89b]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00a4576dd5a8csm188627ejd.201.2024.03.21.11.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 11:44:01 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 19:43:46 +0100 Subject: [PATCH 5/5] dt-bindings: hwmon: ibm,p8-occ-hwmon: move to trivial devices MIME-Version: 1.0 Message-Id: <20240321-hwmon_dtschema-v1-5-96c3810c3930@gmail.com> References: <20240321-hwmon_dtschema-v1-0-96c3810c3930@gmail.com> In-Reply-To: <20240321-hwmon_dtschema-v1-0-96c3810c3930@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=1711046632; l=2007; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=V6VzvACmmg1HSyifxT5g+gPzhNzirrHnP3f/hmF8jMU=; b=TXRk7ekifN2YtRLJ/Oo1oWCpa34HsD7o7GbskHBhTUhjZ/+c8V9/Lo9lAKj1cgeGDnIUGQN/h 5eAaiamzRueCoaHV4HQTQMpkmSZUfx9tlT1/TlKltdb/wu3ufWHZaUu X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Fri, 22 Mar 2024 08:13:59 +1100 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. Signed-off-by: Javier Carrasco Reviewed-by: Rob Herring --- .../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