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: 13600409 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4F9F79B83; Fri, 22 Mar 2024 19:24:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135489; cv=none; b=h3YedM78/yNkeShbfyS9rz3FGI3C/mhr4Pt4LDCrUrxNBGmM2APP+hge/TqjfpSOIc7blJwJ646W90XmviX1mhX8fET2sokJaBgA+vhwRt0bL6Z7xM4bVk5h4IWFi8Xgdg26E3JSaO9adQAibrEZUYaKXySejrivC+Y8yXY/BKM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135489; c=relaxed/simple; bh=dydiCo7iI1NW4gSDYIevGCRXxnVvyAdCyQwXxWD9D14=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=q4h/vSnfu9obZyFfSCAkMl41BuER8NcdrFrv5Pq3nBVwpm9/8HUWdVkbB3t1oT83NGwZWdSqFULKGTE3e02laKZaj75pLgBJKhYNh8aBCFb3Xt8gTJBzAUDMG+WP8E+NKvP9drtzTa4kA88cQzSlgpBNKLr/s1veYCr/DFutwx8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=I5C2ovsg; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I5C2ovsg" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-513d4559fb4so3142967e87.3; Fri, 22 Mar 2024 12:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135486; x=1711740286; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rOSsKufZ/8yCjM1/hlvnqYOYaN3abG+vGfagOCNtt2o=; b=I5C2ovsgg7f8m3eioAu/qJF6J1HQFEM5S90ko1/+QVSdRaVUZFh1If2Li4QyYghDHV s6zFWpIG0fFMvUac98Q4Is5SDmsqGWZ1WDxAk3v1Jw5zir5VZCAmD3EH2YTtI2jfka8o O9KIxaZHx0Mn20YtLV+Y7kxAaa8oSvdpRTikiK9gwMAE1A/5NxoNjDCEphcc3bxVgO32 8QFRMCw6igW3Ck4qP1LAFF3/c6ONJcSlkJF8Bd0Iyyq4KU024Opg+mLNPw6sScqz5AeY TeteR1D7hPq3r1hZyq77zp5s/pAZ88oYvUjO3JUueowHmUmi5s3BMXK3ls9+N+2QSaEv h6pg== 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=H7K3Te5jEfdOknO4tFM+VJiRDy0B+EpsGDuFx74ncFtCpmkNwEdRy5j7HZ8+6iabcs OKqPiBleYlcMpb9DVE3A6YcUJzTnYb8Yq9e9+YJCP8VSBqWtdLSh5I7YbkPytDX2E73H 8cHcrsL97RoutKeVu0TNM8APh5vrGdVSpT+lBMomC9UTd7dpieve6L3rexBFLocP5t+1 AvCRPsw8tI6EQZPjo7TOc5SQEmws8sllbnCQRjxDWJZqzN7ihmtGpZLRDzdDD1AtqNvl 3HliTy+Y3x0/gY2HfDITcaT9aoReHdvNUlYeq9x34vwtR+/hE0Bu7GPdhnGnxKRKf+fa wFzw== X-Forwarded-Encrypted: i=1; AJvYcCXLh3oCecC/4NtqJQEeb8XkWoNFpCdPgC3M2YcMFDQd2+gPB2W93892wQY40+/K5nekrmus4HAYHwIxorjRnzDBvz2T2Mopt1z05NNIQdK6ASBGHlWhOn1Qw9TgBb9tiSu6U2S4QOUPaQ== X-Gm-Message-State: AOJu0YzulExg+O9srRvVrq3aV/ZcU0iu6K7VKc65jnnlKb137dRHiMgF Ifdd2S3o2apMPWzpOdZBkdfzB7UlPFDSNHP3FEikMJZ7VGyuT/NT 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 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-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" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=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= 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: 13600410 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2274679B97; Fri, 22 Mar 2024 19:24:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135490; cv=none; b=kqcjEQExuUo/45CW2hdfniRMvzF7ghUY7Y++mfXf8sIZM2U6ZG/6KiNDYHsQgc7qFdeAgqclIR/Yd/hJ7JkFLrL+sAVnme8Z/ZwJ+GfZsCImsPZtOR4o4//s3Q3izUuf4UfBz6SKKMmKW/aMy+Io5GPsOhYfstOjgLtU2ZkgXjU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135490; c=relaxed/simple; bh=O6ZF8AixVLf2eRm+20VlkeyMfauGenKZYfdBbtHsutY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=McpMevjIH7BFj/z+7b3ViSPNMYDL/G0t5NBK09GvzhiIMYXlUG0CjB6HA+gobPx5paYWLugEmmEqGbs54YcsQG8z4aJL7neFaAn7c6BUjDTLR2FM0LJ4MKL4ZdiL8lELdGqrALx4k0JHsK1zl/TK+1S48Vc/tWSxD0RSjE9Mbuo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fL6G75kg; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fL6G75kg" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-513e6777af4so4634591e87.2; Fri, 22 Mar 2024 12:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135487; x=1711740287; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QZnGroDIqCF/lMVS0ApuLGPQdgg2yOe6mXFPk44TpZc=; b=fL6G75kgTv2rsF3PNHmEwLjA1X5s9G8c5F4LKzPcb95O6pHVa4eHgFRzGSY4zpljIr xnOSmBZ+GOr2cACWIb0zvh7Py48ABnXELPodTdIO1MAxvIHeXuNpK4q0fyWkLK/WQ23k oUOKsIP2YH/d/Nyog0l8cKLz1bP8ACpc4ppL8xVK/ktHhJEoxXtP9DRvIzbtljPlNZBF L9bOuHpYgmJmdDPMuZUpsBsQo1M+4pY5Jup17k0BYzgNjCMqgUiMrhSpkeAs/gxNhWmr VIxJt1xU4Wf43ipqfEyjzxLHtYFcu7DVo31UW2kqmm25ZDGBrqLOf99oBZ1c7MU46W/j ShFg== 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=BvEF4/SwBiHOJaS2KpkqQ+lnX1noeyrOMYO0bskdiJEmiNWYY27MGmCIsHpgGsPVN5 43UrDXaoallAzzwuzsApqKI5R57a+cYBw9KmWb1YMyU//83Y7KiaAn8mhVTpkWu+b00y 492+YHkvgOQzfP4R1EhmMpaRlX2v5sX3slhDT/qUeQBlwjt1/mQs52rvHr4gsvTAzzkK JrSea/EFhpiC53iqHbudXnCyiU4lBu0z+YOpVHA8rn4hSrX5+t1INSfW0zdS2xlIYwry 5g2m4ffurVjitbOnvfa/sBwxtuEkzcZ0wtDqAcgR0HF2F4t+QA1cWtnataLtzbpEuycq U62g== X-Forwarded-Encrypted: i=1; AJvYcCW2OgKiLS7q9YxerHXjLzFPPRkSSuDG3fs1UmaaWIt9LAF8slwjI1VwIWMYbTJK9KkpNYJdm/OQgoOtA8x+iHIvMpFUn7HOEJhKBi0Fgh6+gfU0ztqe1OaUumdjceejcGvAHDECL1oTgQ== X-Gm-Message-State: AOJu0YwuWXK94KU8KU8S9F/4BDCG4NB9zprKZQ+1TP4pOFjITy4OFGaJ eYfyS7tYg40ppBDjR5VfSEotcqiXVEQ4xYWJhWsxzMdnNFUiznT8 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 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-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" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco , Conor Dooley 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= 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: 13600411 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F58E79DB2; Fri, 22 Mar 2024 19:24:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135492; cv=none; b=fdYAZ9fcaSd7lm8YRnnzemZSxG37IE++KIV0t+Yc7AMttjioXrS7gr7BaBAfh8Etz/MjH1k2w/t1F4orkB4ervbD0RyeYlsEzYK2/QddiaCLWyCub7+8sEi0pT2WxX2BOUjHnRclgp8mqYSZHhIyqKBRh8cNkCSNFWBiQ4Rjwss= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135492; c=relaxed/simple; bh=ZcfJW77o+avPTeg2tdUvNFQMCBaJDocyWKaLWxFMj3M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lyooqmvduGAnDKOcklubqs0ZV4aJ6v83/3k4H/z1Qz8y4NVzy87FYYXkXjI0tFQKnGaKGbqWjWjR5L3GaG5926LkCALPTSoLHUxYzLLKu11KYdj6PTpMpyoX52HU3QYt839wkk1JENA6jOk2lkUhPWzBq3ZtQKCVQYRY056ONOI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=abXUh3P2; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="abXUh3P2" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a4707502aafso429443266b.0; Fri, 22 Mar 2024 12:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711135489; x=1711740289; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=D0ZcSySu+KpK49bvvLZjoVLSgT/8Vz6AsAvPYvNMC5c=; b=abXUh3P2mQiFeYAw2zH3/3mIfZiF1lH5J2MVew8uMwE08ETbuT66hMR/F0b97itbi0 I46T34A7gidqcN4TOrth/i640QUZ2rsBJsloT4EzgCiZ3Xgkp4T2BxnuINbH3sCp8pPB Gbz2rpXoC5weH5i1xKsRcV86mRrxUpQbvk7GBknqQ0UaXq9mL+ROfwk6rEmiUhbLQFIo RaERuLSCy6C5i40r3+DsjvHNWbaQUqpdTB72q3QaE54/PPmtrLOa7RJK+VFEXWRCx8fX SFfKoy8UF17IzMzHnBnEpfDueUpJLXlEEPE65nX1XKs1+E9P+RO39vF1y4j0cV8rXzx8 R96Q== 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=BFbvVjcvlqhw72AIWYcx9K3MGMXMLCqJkMs5U0YASf89pOfdlZnAHkZTe3SUVg8J27 PzWLCEEhejuSrrTzA6Ydx5XTQIDUhelqOhSgq6WEK+htsprI4SPZ8kvnxBY2jO9POpHZ NVIrCItjusPan7MMObnMmk9kCbdtCqbiBCf9Jf6B+AGPA+tnYQswHhjeowUSBRha1bnT 8j8sxmoMpkt0sBMWlE9g22HCKo/eTvmwyyJzinv0X0wGm4UYCR/062TbV/u3TEEQ1gxI 7tm+uDILT5W6FDb+3Dleg5q5KPSIBIKr6PT0kqdElP9j2bMK5gx1u0/T2H0XwA+C85Na 0OCw== X-Forwarded-Encrypted: i=1; AJvYcCVUGBrpZ3whM3gKBP5JQ5p4sqJD2VcC3Xc8R2RDScM/HDAZvcpZ141c7P1jXxAIjQGLGjeQe17EdYZI3oQLmfx3Dfyfj3UIFpzXOgw/GMwuZwkzQ7hVsHJGdkuvKqoKOBPIVvpFIJ/Lmw== X-Gm-Message-State: AOJu0YyhWDHgXEM5bl+LQ/O66EEVaT58NFDUAGcq2lpfUz7KRuHs8i5v 4h93MctAiVOjxOADIZVERog+DwTRH2rsdooyR9G3gR5SZXBwEWEw 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 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-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" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=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= 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: 13600412 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CECF79DDF; Fri, 22 Mar 2024 19:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135494; cv=none; b=iDmqCYkkCZh/0lAzFuvW7sbv8J+U58FcbU7WClz8JWbYO9QY9K7IO0dpy90nNoY9JgmLD2zopX6wlfJC9b4PxvqCsZgPzsA4sAvIwZl9wbaEEN03xCX4pdxE6rn7R3W3kf+WuJABfreqPlSlQ6f/G7IVChWBDeICrWDshdnQK2o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135494; c=relaxed/simple; bh=wUpWMU2bOBD6Qwu6TCUYfBngziKtHdkpYGHrXVf6ZaI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nPCuvCtF7v41/tE76sI654HH3es5m5hltV4Fc9hBhZUu6/QoiqVSWKf6nMExJmeYJlIZxmjvq7xOeBcEJIBgTk5iYasu5yQR1xXBag7BomyrM5wC+mH1yr0+5xmWzQcsFKNjLiLOrIMN0juPeQSHdglFWaTlgEYwrgVS1PheoXQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aaIAB7MV; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aaIAB7MV" Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-56be0860060so1380061a12.1; 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=1711135490; x=1711740290; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=z0qn6EG3GrsHqpOB936k/w8hIJUCfUQFAV2vkGQLEp0=; b=aaIAB7MV7uonDpadAFlgO7qthEP713+zuMOSVumceKHbP815/54jxf2FUNXejHXTuS IfOkzaCW+YkKWubnboQmAlKeOgE+G1suj7CQU8RHwdOowKd8acHi9j7TebHMPaOjDK// qpTcS7WTKJVnbwp/7A1Xhi5t4buycQdZPEKsbEli1oP+YFg84zXLLUL6SLpy2+hXQNbB JbGh4Er/9E2Um/sDm2lUsNHm2Nni9Mks7LarXq5M54zxSjS9gTnqb+1OIs9mSuDapuyk iQyom8LC+vEq9paeT5k/FH2FsDZOEyvGBxVS+YRGpty5tdCrWMw33QHSi3Xwbq6Fl6yv ewxw== 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=fTwOpTNDGZiBZeMH5il6NYPVLFhCXKNoeb6ifbUl5r6pLG1imT+ybHuh7c1HtuoFke GKDxOMRVdhTxexsPeoLIEgO/ASED+3GNwRZ/KMWt8kAf5duPAlAPDwWY29tJSBOeWxTD n6iv1n9EpT2bx6DN5l0NxKiOiDCk9GuNyYGinn49gD5PZsF8E6I0mouEC1JsCzdU/tk2 65no0xdJrCF5vDvwHdFWbYrxJkf3Q+NHlF53uwll3ZMHa3jckm1jxe4vGHlbqdYRPQvF 6L84lWYNAF3ubZAckzoo2s8FTEaPBtL9GfVL1cT/kekvj3FXAyZLv+JjjOcDZtqkhjGb qNog== X-Forwarded-Encrypted: i=1; AJvYcCXb5FXwu0euNU598LEedHIGp2hGIOiWThNvUDy0VU3xAdrzKOR+MpUsRHcOzwoNXwO/BvlipkEYCto+h1boc8EYzGjzH1pNvoLr6WxY0DHOrIJicKSOHj0274sbjH/ZRxcLl+0mmsDvow== X-Gm-Message-State: AOJu0YynqhlRdeayterNqsC9LbkF7XCsA+Pyc2DKItMPq6IXyEhdm/Ym xYI3U8N5B2neu2yqpsg6tkhiK+Ck9nHnKUsp54n0nx2+Eb41nhsy 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 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-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" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco , Conor Dooley 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= 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: 13600413 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDE817A13B; Fri, 22 Mar 2024 19:24:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135495; cv=none; b=CHbJsXY1fcaNAQa6winXv0Is/uQlKC02OSly+K3HOIM2yh9A8uOsMChjPT1Xh6QPR5EpDzxaBKUEU6S9KGCKk8JPw/Lsg9VWWvsWSQhn48xRcbGrYpf03ImctyfqCsTrokxVbpPVqqxT76vk85AocBMgleysTE0bKDgy482+lrc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711135495; c=relaxed/simple; bh=4rUBSyPV6ao55dHemnHVuLdadgQFFoAi54Gb6HBKVTY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ve5WvXhEOpI7UNa3pE5g84lku0GsbEnY14e5QfTqoS7i+zeab2qolyLLRV6Uk6Xiq7SUrTRyOJxDidugkzLULUghpeMGvCRcsEReUUaDWjoG0ILXMjr8AdFdyQob3edXAhQYbmOgjM23D1EzwS+63vDTjwRgsgNZNzGEZTSARUk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mOYSpRjY; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mOYSpRjY" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a46f97b8a1bso330250466b.0; 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=1711135492; x=1711740292; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=k0ZX0mSNtR84zaDW6QrVcacYADFhCeQmdayKmvm0d6c=; b=mOYSpRjYH4EV+KEI/ebzvFSQsIEf9Y1VNiRWUcn+JW/QDdKMf05Qnf1l8Bt67Gc+60 nGvSq+eg9ya1BVX6VJ8PHN9MoJ2vOjgoQfmJ+9X0pqHHOhLeTE8uS8wuZEec7hZKtSoG +HpMN2Xi/RWeB9RT3sed8KnCQ8Clw+lkqCSene6lejdQJU0a/OwxPJdCuc0rWVs6/Ott MGbuKCB/L/TbNHoWk2DI5AfOognySJCrZY207zhcyXGkRHvVcbgOuH3XLcDqIxwfLr2K OAqrXDd6EhQahR5Ti0Sb7HGw5qa8dS5PSW/JPK1TXfvN3uLpPRGOkB3fjb9+YNBYnx+z NHRw== 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=Qucw2QLnwwEe9ERvK0d5/cA6WPQxMpZEt7N9UPkqPz6LCsliZsL9LT1I8PqBHbd2rD 5OMlAn71TTskxtFfhTdB0gb277WHU6Frsz+n0Eru7F0NYKlXMPPOFsyrmN+QdzSYqf8U /KWQ/ZT7w+60j/dRPpoDxfq2E25uzt7aSQ6HF/I9q2nT03s1LrRd30Xy2HKProsmLc55 7WFof9/PuTz6YRMwm0ANkPo5R1W+pmTZ8PWhAzenVMro45pxzlGHJZruX9gtBufh8VYn 2VvdhkfDoXXLNEplOHm2JN+6nhiVtxBviO3mPCiYbGfSBTknNWgaRKltkijebWWgU4w3 K1Gg== X-Forwarded-Encrypted: i=1; AJvYcCU849NQ0kWJK5Ms03ob8Ti215zbOXam/MPDbCI8OmG2meVfu99+1RY4Mo1Wc3nQx8qA4OkJVf9fUug+tN3cxlLefribokH6BXEkDNYnWxr0OcgvkEnW9vzDrObe7+/EaQfav6Ek0c3LHw== X-Gm-Message-State: AOJu0YzpHLtZCp7Z75I+8zDsMf/j4ZURDyR7wlJal01o1fXS/UKA+CvT ogDdukk8gx/feCFgpI9i5sLoHhA/2JRktDtiJgqqbrnfnuglJLG6 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 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240322-hwmon_dtschema-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" Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=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= 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