From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A1DF1E0DE5 for ; Fri, 7 Feb 2025 13:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738934906; cv=none; b=iSoqHJnEpJUgGXVnUGq8hIN67x5SiIshEMD6BQM5D7EArMJ/qIDhhlH7RGveaxxmNzHRCRSv+tefurX+gGCW+gfL35fDop1JReSWouSbdi8VoKbEFvvwHWfhJtj4c8qCHYW0zXBeXlQnD6fY1VmPdYxDYOPiTY65CPF3RVloICY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738934906; c=relaxed/simple; bh=LZasnWhFJJV34mvD6UVizSKN3QCXMXim04UIqmOaNRo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CF3QvjBt0gMV04AoqtBxGoEptm8ViQpBGxPRBmF94rBBhS4FO6gRJyr4cVJV4CuV/ucWHr7GRcxBDGrGBhn92XC/dgBUNslIwsRKZypyPN2WYDWQQu8G15FPjRGYdTIJfsO8mpj8hV2Y76UP1aIP0Wnw3AnGxTon0jdZ0Rs4ToM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=9elements.com; spf=pass smtp.mailfrom=9elements.com; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b=A4ESNtjX; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=9elements.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=9elements.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b="A4ESNtjX" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-436202dd7f6so22646345e9.0 for ; Fri, 07 Feb 2025 05:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1738934902; x=1739539702; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ckZTEVvJkEaNZVoLWSjwZxia7bZkBvQAhD0vyw7gDKU=; b=A4ESNtjXE7iog4h6b3QAjrVU1HOkyUvh/hgkYTEkkCpajZWj9Bg3CjqN4LWoj1qwtl MYb1UN9gINQvZNmiEfJoUdO7y/TviGfif71nhrn5be6zQn6m10uOtVTvIDxBFSySPtMZ /8tCRMvrG7Zm9lB+VS+fqTRy5JU7xkNYUgNec+0qxnFvXa1SoD2mRmt/LzSuHfoAC4DG AO68Z3m0BQXOR2XRFgLcnjzz7Q/A+D/NofCKOXosAhWH7TyAE0mWU5npuwz5/G9IXQRa zRvYYJU8U2/kz9WNnUnefd6knqXsNtnIzgljpRCQ09cLHIaxj+nHHDdSSgY0eD4+o21z 9IEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738934902; x=1739539702; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ckZTEVvJkEaNZVoLWSjwZxia7bZkBvQAhD0vyw7gDKU=; b=iia+z/vNDCB7mByNsk9sYxTFN9nM9o7Z3r0bOFb1HusdReNn1fvDf0wN/Q8nmz1qFd anyacFuKLcRcvjmyyCYnF/HpfoP01T7tQ80cPqSXbZX5pM9ypQ++z0yYAKuD7ZOeTOkb ahAu9RF+IPFdEqpePzl2tlTVdPr9uSMAgPthKgw2efX/3kpN954aQbC0ZO/Zk/cJ8GLh JcWTx5Rtd7sEv85SX8HLu0uGbyKYEbT0OJtVBiN00nq6rcbUV4PYvhM5jtEdsexXrYyc MzJHpHB2bio7NANEFKhwQ5Myw8OhD9k+/qESW2Zwz9E+mBqqK4oSo6ujH2St844Sm7rA vyDw== X-Forwarded-Encrypted: i=1; AJvYcCXaSRlYJtk47CRCpU1VNwVgEOYekff6aXHFVeIL4V03nMqCNdIrZEI4FP20tyekclbYKD1mQHYdiKwk@vger.kernel.org X-Gm-Message-State: AOJu0YzBLO2ezXOV5X3p9fSjR0hwB2EkH6RzQJHKMtVIToEHVMCiZ+fc 7hanFnJ04ND2rDmViXExontUgYk//BTxs4F44EbGdqzP0/PoD6mlXwRl2GZ3W5I= X-Gm-Gg: ASbGncsbgwVOHHjL8llDlwUKFUWa861okYnvVFN9+u3wEZW+7LDni3xHQ5o/yvdN0qb k7DxvzE8TWJqtN/hylDqrXwc1mkQiWiYl8J8TyoKOw2LGDXGXVA59asum96IpH3+etvAuDsbX1n 2C24csB5sOVFj9soTgY1y7VfQyZQn90bGUvcLM4NC+ukk6RLqcfdX3fKyKANwLZ40WhIzVF8cu6 uPWb60AvLoSjm+BtdYuLu6RB6dE2gHGoMjS4dZ8M/7D+jY94jd3XsPE8d1d+gdNd8FC0hHKXFv5 nLlRHXYl8CjMOxFFVoyWbAFFThlgOT2q7yHRamAgagHKjphWofr/romI6vwZqRJrp4AyYRpsz03 D3hW9LkEXnU4= X-Google-Smtp-Source: AGHT+IHGBSOeWsge7tK4CsQPKzL+OUxWSXZltyhfvpxwSC8WexQZT3cddURN1LChbx/tbT0l7rnAJg== X-Received: by 2002:a05:600c:1c9f:b0:434:a802:43d with SMTP id 5b1f17b1804b1-439249c02acmr25919505e9.27.1738934902117; Fri, 07 Feb 2025 05:28:22 -0800 (PST) Received: from stroh80.lab.9e.network (ip-078-094-000-050.um19.pools.vodafone-ip.de. [78.94.0.50]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38dc6b89ef5sm2641562f8f.31.2025.02.07.05.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2025 05:28:21 -0800 (PST) From: Naresh Solanki To: Guenter Roeck , broonie@kernel.org, conor@kernel.org, Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Patrick Rudolph , Naresh Solanki , Andrew Jeffery Cc: linux-hwmon@vger.kernel.org, Naresh Solanki , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: hwmon: ir38060: Move & update dt binding Date: Fri, 7 Feb 2025 18:58:03 +0530 Message-ID: <20250207132806.3113268-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Move dt binding under hwmon/pmbus & align accordingly. Previously the DT binding was invalid & wouldn't work with pmbus driver. Pmbus driver expects a regulator node & hence added the same. Fixes: 1d333cd641fb ("ARM: dts: aspeed: sbp1: IBM sbp1 BMC board") Signed-off-by: Naresh Solanki --- Changes in V2: 1. Update commit message 2. Add Fixes tags --- .../hwmon/pmbus/infineon,ir38060.yaml | 61 +++++++++++++++++++ .../bindings/regulator/infineon,ir38060.yaml | 45 -------------- 2 files changed, 61 insertions(+), 45 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml delete mode 100644 Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml new file mode 100644 index 000000000000..e1f683846a54 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,ir38060.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Infineon Buck Regulators with PMBUS interfaces + +maintainers: + - Not Me. + +properties: + compatible: + enum: + - infineon,ir38060 + - infineon,ir38064 + - infineon,ir38164 + - infineon,ir38263 + + reg: + maxItems: 1 + + regulators: + type: object + description: + list of regulators provided by this controller. + + properties: + vout: + $ref: /schemas/regulator/regulator.yaml# + type: object + + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@34 { + compatible = "infineon,ir38060"; + reg = <0x34>; + + regulators { + vout { + regulator-name = "p5v_aux"; + regulator-min-microvolt = <437500>; + regulator-max-microvolt = <1387500>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml b/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml deleted file mode 100644 index e6ffbc2a2298..000000000000 --- a/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/infineon,ir38060.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Infineon Buck Regulators with PMBUS interfaces - -maintainers: - - Not Me. - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - infineon,ir38060 - - infineon,ir38064 - - infineon,ir38164 - - infineon,ir38263 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - regulator@34 { - compatible = "infineon,ir38060"; - reg = <0x34>; - - regulator-min-microvolt = <437500>; - regulator-max-microvolt = <1387500>; - }; - }; base-commit: bfbb730c4255e1965d202f48e7aa71baa9a7c65b -- 2.42.0