From patchwork Fri Mar 22 19:24:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1915067 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=N02JSo/C; 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 4V1XQY4HJMz1yXt for ; Sat, 23 Mar 2024 06:27:17 +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=N02JSo/C; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1XQY2rNQz3vsK for ; Sat, 23 Mar 2024 06:27:17 +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=N02JSo/C; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::12a; helo=mail-lf1-x12a.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 4V1XMp0qZCz3vYl for ; Sat, 23 Mar 2024 06:24:52 +1100 (AEDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-513d4559fb4so3142966e87.3 for ; Fri, 22 Mar 2024 12:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135486; x=1711740286; 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=N02JSo/CcjNU711TB086d0HoLqCYqXwUx73MFd2Novw8Gm4HpSon9qnvFgCxxafcvR avk24iRcRGYNxEaPtfa0SNu7BoIm8ki1V9npFf6aaxno+awRSRlRSGzYBC0mFOZP39YS aqvS3ib6tHXFyl5vs6WL+bUdneDhCc5zraNjUe6dtH9vPiBLUYlyGX9ayIxjMdtkI6xi p4Bq9WLUWA5p4qVTjxnrhY7JiQc/ahg0h9gZpz5zEuGuey60YPEKLvrAMlhYaLDFxH5g CEwxf2ITdZ3Kydks+K5pLc9NEQURNMpmGdVWxXq/RxDoIqx7vPJc7B+6DAwvwaHsE9uh gsWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711135486; x=1711740286; 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=QF3dbh3I2RysA6aGPvgV3aihuojAnUALihEZIbuaJ2UJVWdYSG+26JIaKNOp3gX0lc pZOh4/4RtqcGV9mguh3AvTdfLQyy6w4LGlpwQHEpgFEfh/O0Pvp2iTtAdCp4KtY/mQY/ zuwF7TiutrEP8+1GaPX1QUtCRCi9Ez9g0f8bU9X9a6mAYDcY6a28KAoYGJoFmYzfPcR3 rprn0q6bjVCeQO52TGfImtglCVdsy/8oeG89du+EcVt6uThOIDVTLZB4x0gijuqWY5k6 3HOso30D0iQPgiuxPZ2bD2oDDywuSN4H7mGNhflL3l8RU9e4bVepKe+mXSz4pK97Kj1m o3mw== X-Forwarded-Encrypted: i=1; AJvYcCWm3vuQvI+D1xaTG2PeU8jr8ZDQudX4lzE4seI4rLqHzmU7li/if353uD6TLXewHPTBZkeXijJOKrGIrMu3qOBHxbKuqZqcwPJ6MRJ5Tw== X-Gm-Message-State: AOJu0YzM05jVgw6W2GZy5ORqBDhRRMwsJts1fDb6HVXovtp9vquwA9Zu j3ECBVShZhknpVFMDP9vu4LHliHhmPBwmqTvxFM7FisiPaLyXJfa X-Google-Smtp-Source: AGHT+IHuDeX4dcgp3CoihbTxC+N3DhZXs1ducT1pLshzXnGYUwm8bzwKCXmTT9H7MVuempz6zsEdZw== X-Received: by 2002:a05:6512:4dc:b0:512:ac3a:7f27 with SMTP id w28-20020a05651204dc00b00512ac3a7f27mr242869lfq.66.1711135485537; Fri, 22 Mar 2024 12:24:45 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-b7fa-7d92-6b28-0504.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:b7fa:7d92:6b28:504]) by smtp.gmail.com with ESMTPSA id ku12-20020a170907788c00b00a46b87c32besm138572ejc.39.2024.03.22.12.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 12:24:45 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 20:24:35 +0100 Subject: [PATCH v3 1/5] dt-bindings: hwmon: as370: convert to dtschema MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v3-1-6697de2a8228@gmail.com> References: <20240322-hwmon_dtschema-v3-0-6697de2a8228@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v3-0-6697de2a8228@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=1711135482; l=1927; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=dydiCo7iI1NW4gSDYIevGCRXxnVvyAdCyQwXxWD9D14=; b=uCAp20yjInGDG8gzJ0FIAQrtzc84wwJxhwfUU7eg3Q01+/KMV2/ykxX6enHJhFF1zbBAr06Fg /fNFWQrMotKCbHp7vDRQHzsfqpghKPeXdhpvIC9B3qgFCAr+VI1Na47 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 19:24:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1915065 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=OYFAM8oR; 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 4V1XNy4BkCz1yXy for ; Sat, 23 Mar 2024 06:25:54 +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=OYFAM8oR; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1XNy374xz3vl2 for ; Sat, 23 Mar 2024 06:25:54 +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=OYFAM8oR; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::12a; helo=mail-lf1-x12a.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 4V1XMp07l8z3vXF for ; Sat, 23 Mar 2024 06:24:52 +1100 (AEDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-512f892500cso3030492e87.3 for ; Fri, 22 Mar 2024 12:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135487; x=1711740287; 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=QZnGroDIqCF/lMVS0ApuLGPQdgg2yOe6mXFPk44TpZc=; b=OYFAM8oRBwy2m/HYwRZLUH4e28eCSFAbDMvhW1Bu0/bN9o0PVckO6dXdi4nxL0B4nu YhVQO0taf3nQPL7JycaeP63fTkA7d2355dHXEg1yTEwJ11gHRs7f8qV21lmRetj1deE4 pg0WzKTljH/r2ARKJi1f75N2WU1D53N+nRNQJ0Uo+jxAJ5atT4cxtQ0il9MQLYxf9YXw ObSzzE6iuJ8WErSk0A7GAeaxHc9gx6cEgB4bFGfpYIjKy3zKgJwvpSPGPfy2kCp+wb3Z 2C2NbWgrakYLCmKHFP9zfbUktZ95eX4H6HHsQlLwRZBHB9GeeL6/zYV8m5u9Uoafkacz ik3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711135487; x=1711740287; 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=QZnGroDIqCF/lMVS0ApuLGPQdgg2yOe6mXFPk44TpZc=; b=Z7yd6yVh2F0nvFQAo+az3S6nn8Zsd01EJ2pEjKae301vqiOjjp0MU8UmNOZZ+oMK9T x06Z+hd42f3tH7GKqTDqIlve2K0ZcROcy2lpC4TLnK6U4sIEwpUcgmtQIHoKfcfhHDkF iM45VWnUOuF7tIPQpf85Nrh8p7Ng44ynCI8evniFmdGycNu2sr/s4jCnuM8fADstN4RT mFsPPQGoeEdrrcMytIls9Z3f5lWKYsZuRlGomZtWSsGsL5ZMk1asD3i+wjPFoGeg9jn8 RxQcLgGWQopUP0fmDIKoVy/KdTO+TEUC1X8Psimant0RJSGnigyL0SQhzv3sos6pA/ra XkDg== X-Forwarded-Encrypted: i=1; AJvYcCXgsu/yiFvsuHBR+FQxwTSOydWyH3n1GozcdsdR77Nvtqs6yzILC5dkT63Gd1riPDC3opaIoowXDHmNGlCRy9adR+Ll1b4mBueH90TefA== X-Gm-Message-State: AOJu0YyaAXKGFc6YoHGYeHZe/YBuRul2Udu8HdfK4gdyO1riNFEUsbDA m1aviVMcgsvSYPv390QD2a2uBH2IU+Mv5wJeAPNGBvljkNTbOy8w X-Google-Smtp-Source: AGHT+IGGyVKkxeA1Y0HyiM85CqmDIq34jH74s4IHJuZKr9P3A15+SZzTvwvPnoi9mUIq67umtHs1TQ== X-Received: by 2002:a19:4344:0:b0:513:e14d:15e1 with SMTP id m4-20020a194344000000b00513e14d15e1mr312698lfj.57.1711135487059; Fri, 22 Mar 2024 12:24:47 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-b7fa-7d92-6b28-0504.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:b7fa:7d92:6b28:504]) by smtp.gmail.com with ESMTPSA id ku12-20020a170907788c00b00a46b87c32besm138572ejc.39.2024.03.22.12.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 12:24:46 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 20:24:36 +0100 Subject: [PATCH v3 2/5] dt-bindings: hwmon: ibmpowernv: convert to dtschema MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v3-2-6697de2a8228@gmail.com> References: <20240322-hwmon_dtschema-v3-0-6697de2a8228@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v3-0-6697de2a8228@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=1711135482; l=2606; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=O6ZF8AixVLf2eRm+20VlkeyMfauGenKZYfdBbtHsutY=; b=0k3y3yB8td836Vv0vjh5jj1vLP7hRXi8mtoE4bgIlJu48ClDtv2TlLskejv4mugvbWVAsoSym 8fJI9TnfeZsBcncWzvR/6JvN1F+4wJpDnSGIc76J95Uw/RNE6fKayFL 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, Javier Carrasco , linux-kernel@vger.kernel.org, Conor Dooley , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Convert existing binding to support validation. The binding has been renamed to match its compatible strings, with no further additions. Reviewed-by: Conor Dooley Signed-off-by: Javier Carrasco --- .../devicetree/bindings/hwmon/ibm,opal-sensor.yaml | 37 ++++++++++++++++++++++ .../devicetree/bindings/hwmon/ibmpowernv.txt | 23 -------------- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml b/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml new file mode 100644 index 000000000000..376ee7f1cdb7 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.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,opal-sensor.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 19:24:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1915061 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=ED+o+Jr7; 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 4V1XNB3QrWz1yXt for ; Sat, 23 Mar 2024 06:25:13 +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=ED+o+Jr7; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1XN85PfLz3vhr for ; Sat, 23 Mar 2024 06:25: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=ED+o+Jr7; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62c; helo=mail-ej1-x62c.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 4V1XMp0xJtz3vZW for ; Sat, 23 Mar 2024 06:24:53 +1100 (AEDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a46ea03c2a5so435271366b.1 for ; Fri, 22 Mar 2024 12:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135489; x=1711740289; 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=ED+o+Jr7QAnpETaea5bX/PQAETax4BIXfIEiW94LxrhS0Kdc+vEGRZN2WEzAb50y2P ++x44vYiMY23JNLjud931YZxOtrlGOKC0WGG9Kk6iu3pC3qk79auy1yPi5hfeH0dbSQ3 OonZEIa/kPo5c9Y7uxf+W/6bqsnOpcoCja3iWe32Aw3ajEW2lMzl2naGsJgqFrzX8pAO 4XOCa6OxLzREGGKMVQIY5GzJM77IsIFF7MIcZB1Nlbbhsx8//g39Q6+/x3ASnqDhVmbs vQdjVgdq8GbTgAe6yfXIVtVF460mFuimkJDP71NAtDx86w6Lhf+mugTVCx6eRb1qNSQm JTpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711135489; x=1711740289; 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=d7zk3tzvR5I1tpgu+SupJ8plYlxuHO2cSaOlDvdQJ3XBRpZ5V1jn1lM4G3S0cRkPPv Gao0ljUKrtew1RpfFhORbIWlEHhiPL2d4RD/4KoaGS3KyXNFwbr/VhnRw0lT5CfeV285 IM4GsoRHhyPazTe66QM/Rsv0eoRd7jYwcGUoyRbXKqOVp6jRJ4yV5pLrozXNBjOi4LMX AduIMDLLLOlxMY6un7X5lW+kf6ylk8ZMtXlMEy1SEvnTUlfrcLBq6VhzCKRseQTactBT cxVyk0aK+F5zKyKbG9IAwoE++QyKflibrn2K589VWjHuzMxnt8FNuilDP1ElP6uCGhIC sU1g== X-Forwarded-Encrypted: i=1; AJvYcCWdWzJCacdWDxedXALqbiVmGbVhABSQB471IdgWX7LGsCynJTJU89m7LU86F1Qen7lescLKlTVVNqDTkINltjB/hgz8o1SFSYJqGWmXzw== X-Gm-Message-State: AOJu0Yz81TkKWoY/kCE80m8JbZMNDr2Nz3cDMzblAoUDfvqBAbaMMrq9 lR2ewmVH3FP9jGHMpuk45LCX1yFAwEra4I4pgV92BcT6ISogsQ3w X-Google-Smtp-Source: AGHT+IH2yEbV6zpZDo0LYkd3n2fFTzdL0Im5jXNMEzApVu9s22IYYAjdujzEhfw0+DAGNdM8vqJYDw== X-Received: by 2002:a17:907:940d:b0:a47:35df:3d40 with SMTP id dk13-20020a170907940d00b00a4735df3d40mr578759ejc.4.1711135488705; Fri, 22 Mar 2024 12:24:48 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-b7fa-7d92-6b28-0504.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:b7fa:7d92:6b28:504]) by smtp.gmail.com with ESMTPSA id ku12-20020a170907788c00b00a46b87c32besm138572ejc.39.2024.03.22.12.24.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 12:24:48 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 20:24:37 +0100 Subject: [PATCH v3 3/5] dt-bindings: hwmon: pwm-fan: drop text file MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v3-3-6697de2a8228@gmail.com> References: <20240322-hwmon_dtschema-v3-0-6697de2a8228@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v3-0-6697de2a8228@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=1711135482; l=582; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=ZcfJW77o+avPTeg2tdUvNFQMCBaJDocyWKaLWxFMj3M=; b=L/sFLNsHGNhO/rLBb+tChETQJOlxvloAo8fJxkna9N5FfqHJDz7Pb+FiDVWGj0Ns0klwArXB/ pp35gYqwpowB0zH8wqWdg25xMJ5RkM6jU4rix8DnDfF8Q7bQK00/nsM 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 19:24:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1915068 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=le6kDbzE; 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 4V1XRL6WpYz1yXt for ; Sat, 23 Mar 2024 06:27:58 +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=le6kDbzE; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1XRL5NJQz3vlY for ; Sat, 23 Mar 2024 06:27:58 +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=le6kDbzE; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::52a; helo=mail-ed1-x52a.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 4V1XMp5dhXz3vZh for ; Sat, 23 Mar 2024 06:24:54 +1100 (AEDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-56829f41f81so3010822a12.2 for ; Fri, 22 Mar 2024 12:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135490; x=1711740290; 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=z0qn6EG3GrsHqpOB936k/w8hIJUCfUQFAV2vkGQLEp0=; b=le6kDbzE0tyk5XifcULqMGScSW5TpZpgy3FV+rJFWLSGN5ZszvXJC2SQVnFLF1QXyM xoCnXqK4aqjWixDrmWQqtSv/ue+BrYCUDw2SkLhlKgOZoGC+mDdZvw8haiQ9LL/YzFys 622skHp4r4IkVxJvzcbNbBjvz8Ss0TMCL6EGRJVt2ivRJesoHMXvNtVuYKL+6ZVWEQcw 71Ny/uAX7mdICPqePyjA/njRGJS5goVKHILECBc1mzQai96aDKAYSP5XqI2RBomMFTEt wXNEeJQqxwoJKUMlZhdKzM4Z4B4uVtdeylWqzZRohRhbHzSasvwyq5WGRsNGfdQZpDIq P9VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711135490; x=1711740290; 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=z0qn6EG3GrsHqpOB936k/w8hIJUCfUQFAV2vkGQLEp0=; b=fKyFvqBE93wyp/uqULhiPLmbg/IMCuFvBerJ+Nd+JBBLrpsDoNBADaEcbXmoeWv8xk VGtCCeBvqpQUVwdrMeWoCvnVp1dJsd1a/3UA7aXtsp0/LvO/2zVWjiS0pbSu1xbiyh0k 7DC5B9W21ds5kwTmPBpWYiAQuyNN4UsqecXtJCDsv15BAhq2AoCm8rQVg5gKaq9/E1ch 9C/q2not41hDXwa2gyg5EIaOd2ySYatZ9T8LCb9bzMm7mlSKVfXrGE0IiDKhSJG8S0zh XiZQ4wF3LenLFo6EXIcOyVsDIx5EPzSBjW66Z6mJg2rUQOa03djldjNoIebfgbtSI0VI erJw== X-Forwarded-Encrypted: i=1; AJvYcCUaPNgrCkjirszjbgCdX4t9bSdaUzazazq/E4m3Sis0lCe9/e2giDKJHiA2V1w0hpZ353mYVBkiiNdM0QuYyZssfFurY3vUQpyAw/OJcg== X-Gm-Message-State: AOJu0YzbXA6DXEaEoU04B/LvwS+Gpakj6X+A9Z8NapQKtL7Pd06BAbxP w5vxtg5DfZoq0ayjdPuwKRf3WXIJotx01sCk6nG42VNEdHwHAgp6 X-Google-Smtp-Source: AGHT+IEjIVI8QESvEO3Htw539vsXNX9NF9f9TsDBWTJfZ9q1LVdbqw2eP58R/0i0gyBR9SJ655scjw== X-Received: by 2002:a17:906:4ece:b0:a47:345f:de7b with SMTP id i14-20020a1709064ece00b00a47345fde7bmr451135ejv.59.1711135490502; Fri, 22 Mar 2024 12:24:50 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-b7fa-7d92-6b28-0504.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:b7fa:7d92:6b28:504]) by smtp.gmail.com with ESMTPSA id ku12-20020a170907788c00b00a46b87c32besm138572ejc.39.2024.03.22.12.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 12:24:50 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 20:24:38 +0100 Subject: [PATCH v3 4/5] dt-bindings: hwmon: stts751: convert to dtschema MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v3-4-6697de2a8228@gmail.com> References: <20240322-hwmon_dtschema-v3-0-6697de2a8228@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v3-0-6697de2a8228@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=1711135482; l=2209; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=wUpWMU2bOBD6Qwu6TCUYfBngziKtHdkpYGHrXVf6ZaI=; b=NDqKnaT/P4mE/GWz2eFqSnF/44C8crtro+gdf4XptGUjavRzlNzPjgh5R2GTrCig2NzJwwhYo 3im3lgjC6v7DXBDTYrIV58QXRPfgrhNMZzY21LtvQ9erQSMTYj7P1RE 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, Javier Carrasco , linux-kernel@vger.kernel.org, Conor Dooley , linuxppc-dev@lists.ozlabs.org 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. Reviewed-by: Conor Dooley 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 Fri Mar 22 19:24:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1915069 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=Ijd4Xjc9; 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 4V1XS83gJ3z1yXt for ; Sat, 23 Mar 2024 06:28:40 +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=Ijd4Xjc9; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4V1XS82fzpz3vhK for ; Sat, 23 Mar 2024 06:28:40 +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=Ijd4Xjc9; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::632; helo=mail-ej1-x632.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 4V1XMr4knxz3vZX for ; Sat, 23 Mar 2024 06:24:56 +1100 (AEDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a46ce2bd562so360635966b.2 for ; Fri, 22 Mar 2024 12:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135492; x=1711740292; 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=Ijd4Xjc9qr/3+nyc/lKvphp3uUlB96ZbRkb5so9OgfUagQ0bl4vSoHp9SF+dg0Ay3+ 23GsSiSldbfK8GfVEmx5lTRobbjpbfmA8i5vnlpkTHzQ13f+mlVjjZYO2lwBSL3LVTo3 m0wcIW4wwGs8kzbOgqynBopfh1pbzvzlmN002iDbCgS4La540++tOBKr8feZblGvxCBV CyT4+GpE0E3xMh5tHQyGe71J6dFPvFbnAE6vlWwJAx26w7cQSsQbmEVdT73+3o+QkcEZ WvIcWZl/DYD57I2zOv4jxuu2e4svCfEcoCzogluiKj5VBhWzQGwLUp/p4+l3E3/WX051 Ltcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711135492; x=1711740292; 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=UQYSdwgopD/kzMsZpcQfqBJvY455MZX+78ySR+rQErIKNjZ3NF+9A45qzD2KDGa+JE D5gk4mzYp+giz25svl+eT+RAcLY6++CLoZsmq87abvqddpcy61XCYDXAa0itKXXQggLF r/ZFFI+BecwXHtdwMyFsbXIaoXXDp9iZrbxS+MMzn8+SGQnA/a/K/91FrpnvkcKeqjqC BpYQS7phOP1m3jURUZZDHxmacs5a+lMMBOjIYy3KRYw+scQXtxT/wvQtnHiY98ywfHoQ QfkthYYr4xZGoOxYtK+MfIXyZO9or5aqOCebxEpKcY6ZnTQ7XjI2Oi13ya2MZYl1RRU4 Yo3w== X-Forwarded-Encrypted: i=1; AJvYcCUwcQ55vRPyqgYgpotO+DXb/UsuqgSHXGzUT7pVYAi7oqsKPrUkLJse+j5eD46aCZS36cEjEWG6X+wkb1gjST+/AX0iB4yUhajDucQF0A== X-Gm-Message-State: AOJu0Yw9/RT7/fnHC74nwE63vuppvL5W9wIir9LObpLXuqTuuzuirI/3 lci4KGcVEirKKbJcqIa6sh8ylIDlrXPIpzU6xv1HESwnIGsd54Ws X-Google-Smtp-Source: AGHT+IELHgSsJUpsN7yw8plhcYvSHv3xoFGdy2OWmwfX2zWELl6zDgevNE+MyEEhH8Jiec/NFjsrXQ== X-Received: by 2002:a17:906:3e19:b0:a46:c0dd:88f7 with SMTP id k25-20020a1709063e1900b00a46c0dd88f7mr483888eji.17.1711135492177; Fri, 22 Mar 2024 12:24:52 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-b7fa-7d92-6b28-0504.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:b7fa:7d92:6b28:504]) by smtp.gmail.com with ESMTPSA id ku12-20020a170907788c00b00a46b87c32besm138572ejc.39.2024.03.22.12.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 12:24:51 -0700 (PDT) From: Javier Carrasco Date: Fri, 22 Mar 2024 20:24:39 +0100 Subject: [PATCH v3 5/5] dt-bindings: hwmon: ibm,p8-occ-hwmon: move to trivial devices MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-v3-5-6697de2a8228@gmail.com> References: <20240322-hwmon_dtschema-v3-0-6697de2a8228@gmail.com> In-Reply-To: <20240322-hwmon_dtschema-v3-0-6697de2a8228@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=1711135482; l=2051; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=4rUBSyPV6ao55dHemnHVuLdadgQFFoAi54Gb6HBKVTY=; b=zWmOM6kGKZqUQ+f1L0py3IV+XS117E9ltKUW8/tcaqs7l9b5mKAT/Kh5w3bCFk7xCLyks7s5q vIrcv2/ZrWaA8uTw6J+NgLLb4IsEFsI7ut1VFEDUJXGbiYLtBxiUPms 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