Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp676258lqp; Sat, 13 Apr 2024 14:28:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9oFWaJWcnJfSk84YQojY9K56k1EM7lD85DTDk/j6wJ08AYvp33RpWu+cCVP+MaB4Q2pY1MfEOmhqZAC+qHsA+pNcIxuFWgThOfyNdcg== X-Google-Smtp-Source: AGHT+IHw1xnbY9D5zaOs8ktCq+uObQzpJeNq7x6GluW+UD1/WM7CnRNSVlmehWt0ugB87v10xqud X-Received: by 2002:a05:6358:6913:b0:183:a0ac:b638 with SMTP id d19-20020a056358691300b00183a0acb638mr7346901rwh.11.1713043687147; Sat, 13 Apr 2024 14:28:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713043687; cv=pass; d=google.com; s=arc-20160816; b=o3sFsGpTkbhM1zQZK9QkeGtC05K9X9tZ+Yrmjr+aFLm4kJJasV2ABn4SPBeuQwaMvR EKr2hTUAvDZb6K3deCdFAb5oQhbNYQNIWfy6ATV2DcRGz50VlAHNfKFKKD5j+XJCJ9QX 2eY2F821mjMp2/0Tkf1FNRnGUBW6XR2PRSb/J5XXC/chKjOuhZa2rFXcOzpsNtIPK5Qw thVGjmCekxaiHZ3KIoQutcjDD0QmOv+0OBNeNAe5W2mXJd7Ozp1Nk1Sxj2FZZSp2BWms dy+lTYb11RmUN4ZLTNJEAbYllE5cVi0voBGNz71C2AB5OIId1hj5cp3d9o+rLAQ9s3Ql nyRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=mQk6Npg49mlyzD38L+YDjKT/YbU4SEnG0KL0Ydq3zk8=; fh=89HGlCXfreZ/J2XDeI2zfKhaJvdoSgar7YVu4AwVUPU=; b=O+7IAtbRrkl0xoHbN/11R9bOx01U2OzjUxMDJM5EdSYWNHe66Ql1Hypp6RqiEhdf3T juNyNH3vCOYlwKn1j9fzsvKQahH8O3xSKMwOfyKMaXbvi0ai3OjveIle6lof3DqjKG15 XAdI5eWI/TWY8A9LdRgUvD1W8/AI4a6oZdI5yvgRo9ZZWTSH5QFxFvJ5uls0QqPt2ZAm l9TFdGxTvgxWzd6IKM7rml71471Td8nyor6OKNOdXpD430npui9hx5xj0Nr5o58s0tyy Jeani9HBPuy0aFWcwyAewrN6EUU32jfE7lZa5EVo6zNRfj7gvs1mcDDfkmMOqYIvQO7x jKuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RIhlfSa7; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143883-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143883-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e24-20020a17090a9a9800b002a5d3134d32si7280053pjp.39.2024.04.13.14.28.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 14:28:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143883-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RIhlfSa7; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143883-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143883-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B9BE8B21687 for ; Sat, 13 Apr 2024 21:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42B215644F; Sat, 13 Apr 2024 21:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RIhlfSa7" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.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 7F36C1EB31 for ; Sat, 13 Apr 2024 21:27:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713043672; cv=none; b=aiHP9FqAEhQtWVU5EHKxh9dcfRdiyh40mJuaXAYq/KTvw/jwp8UKyPRLoLe8jDHw1sh/gzL1tYxlzMLpI6GeUyw3/DIG3UY8caSFP5ubFMlyhnbRjYEPFpnEZFK2cyq+AWIAqmG10QNzxx+etE93NQvfYMjy2emL0TfVluM4opA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713043672; c=relaxed/simple; bh=WNLd9EcndabDAeWQ9Cd/Qcu4JrXSt7DWCJoe9nGgKUA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QZQAaVmQkkIvI1S2MjjSqsGAKmAN40/0HCmL1cUr8TsvLr0p67vSt+kIkDLd1UESUKno+y0/QV0XlWaNOB8VrVoveo62CYLc76ARUNRXov73gZXIdsQ1ygsnMBlODU+c3HzBp+6kgrl9m4uNzToX+ankhmCmzRZFtyrlmfFy9GQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RIhlfSa7; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so5142303a12.1 for ; Sat, 13 Apr 2024 14:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713043669; x=1713648469; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=mQk6Npg49mlyzD38L+YDjKT/YbU4SEnG0KL0Ydq3zk8=; b=RIhlfSa7IbLTQjbIoPKagCznko8BkG9xR7W2W++EbL5HC+bK9h0SS33mEUlmqYjA1J aOFFwbUNEqI1X68j0aFoUDUPd57YxrxOECO1fIAt/PDcmG6lx9jLcULtSZZnvYe1EiS7 Yr5EZqMHuxrweACe6BM/sMPdWvfjs8ID2Ie99oRUF2r3x5sfb16LT0d3wfxKsrzocvI0 wcsolQj3rf1AJeuGtowloZkonNTo8s4IQqGIn2LAdvXJjCIvKcrLmsFg2Nn4YQwyVbcw c18zaOpMNle1T7+58KqCEsvvUfbY5mNfr23ZuqIa2C1m/3qxdCzl0p8Axru/jE72EZ4C A2tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713043669; x=1713648469; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mQk6Npg49mlyzD38L+YDjKT/YbU4SEnG0KL0Ydq3zk8=; b=QhTpIOk+VjzOvkQA0mceXMNi544dkH/F2UWizJC3bxxFshfyFcl/SaTzXfehCB/5R6 zOdtgIXCsJT6/MHC8+o4l7QhpgDGzZ7hqKDDkvhOn78LdqHp7rcP+MXERxkr4qpy8EFT j6rEmEsZJ6Xi7D7F0G3N7R+pocbNI5p+ze+YDZbeTAo+t7eCyl5L3zVKQL4C5o8z+uZ3 zSImRe3LgG15ckuxw7A22aSPkxhoMQ66fUHRNs32tKyEZPDjQz5+rQd6QFt6LYK0QmWH c3BvQap1FMkQFU0hmQ9botStSmIxVCusLLGBaXqto6w7QbFC4WvuWh2elNE+zI1B0lbE fK2w== X-Forwarded-Encrypted: i=1; AJvYcCUGkhXMQIq1gKEiJ0ttoYoo5g8ILoM3mKgin1EZHy84M5l6OEnmhlEFejcEo3MzxS0dVSyNZpWDnS5vssg8TxeWNYVrgOQ0/UYFvevw X-Gm-Message-State: AOJu0YwgVPvS7q7S/3btnzIAesbEvPh5Dq90b+4Z1Qo8u/SIwHSpzLrN v5hfugdQSfMP/e2z6p+5jRGSstTX4XsX1EeFcMdrgHLoJOYF4qrtz9ZGhcp+qtI= X-Received: by 2002:a50:9e4d:0:b0:56d:faa3:7dac with SMTP id z71-20020a509e4d000000b0056dfaa37dacmr4929773ede.9.1713043668818; Sat, 13 Apr 2024 14:27:48 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id b44-20020a509f2f000000b005701ded12a8sm293416edf.69.2024.04.13.14.27.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Apr 2024 14:27:48 -0700 (PDT) Message-ID: <72cf2a5d-55d2-4117-8b80-b3e517a7a9eb@linaro.org> Date: Sat, 13 Apr 2024 23:27:46 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 1/6] dt-bindings: ROHM BD96801 PMIC regulators To: Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org References: <27a1c489f62e46a80643fe86cca101fb5aadb7f4.1712920132.git.mazziesaccount@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmL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FdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <27a1c489f62e46a80643fe86cca101fb5aadb7f4.1712920132.git.mazziesaccount@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/04/2024 13:21, Matti Vaittinen wrote: > ROHM BD96801 is a highly configurable automotive grade PMIC. Introduce > DT bindings for the BD96801 regulators. > > Signed-off-by: Matti Vaittinen > --- > Revision history: > - No changes since RFCv1 Subject: missing "regulator" prefix, as first. > > .../regulator/rohm,bd96801-regulator.yaml | 69 +++++++++++++++++++ > 1 file changed, 69 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml > > diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml b/Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml > new file mode 100644 > index 000000000000..4015802a3d84 > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml > @@ -0,0 +1,69 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/regulator/rohm,bd96801-regulator.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ROHM BD96801 Power Management Integrated Circuit regulators > + > +maintainers: > + - Matti Vaittinen > + > +description: | > + This module is part of the ROHM BD96801 MFD device. For more details > + see Documentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml. > + > + The regulator controller is represented as a sub-node of the PMIC node > + on the device tree. > + > + Regulator nodes should be named to BUCK_ and LDO_. > + The valid names for BD96801 regulator nodes are > + BUCK1, BUCK2, BUCK3, BUCK4, LDO5, LDO6, LDO7 > + > +patternProperties: > + "^LDO[5-7]$": lowercase > + type: object > + description: > + Properties for single LDO regulator. > + $ref: regulator.yaml# Missing unevaluatedProperties: false > + > + properties: > + regulator-name: > + pattern: "^ldo[5-7]$" > + description: > + Name of the regulator. Should be "ldo5", ..., "ldo7" Why do you enforce the name? The name should match board schematics, not regulator datasheet. > + rohm,initial-voltage-microvolt: > + description: > + Initial voltage for regulator. Voltage can be tuned +/-150 mV from > + this value. NOTE, This can be modified via I2C only when PMIC is in > + STBY state. > + minimum: 300000 > + maximum: 3300000 Hm, regulator min/max microvolts properties don't work for you? The initial will be just middle? > + > + "^BUCK[1-4]$": lowercase > + type: object > + description: > + Properties for single BUCK regulator. > + $ref: regulator.yaml# > + > + properties: > + regulator-name: > + pattern: "^buck[1-4]$" > + description: > + should be "buck1", ..., "buck4" > + rohm,initial-voltage-microvolt: > + description: > + Initial voltage for regulator. Voltage can be tuned +/-150 mV from > + this value. NOTE, This can be modified via I2C only when PMIC is in > + STBY state. > + minimum: 500000 > + maximum: 3300000 Missing blank line > + rohm,keep-on-stby: > + description: > + Keep the regulator powered when PMIC transitions to STBY state. > + type: boolean > + > + required: > + - regulator-name > + additionalProperties: false Blank line > +additionalProperties: false Best regards, Krzysztof