From patchwork Fri Feb 23 16:21:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 20881 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp691904dyb; Fri, 23 Feb 2024 08:23:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWnwub4DxYSqiDQZ0JLlp43lNjzQFjlwx5sM6ReTUodVZkGhtSEtJWMIEJKssIfKm4sFGC+y5XrFZ5tQbJ4GlldBw7yCQ== X-Google-Smtp-Source: AGHT+IFX9iiKFwEU80G0ZaDzDowY+qF8pv+tmUcBn1fsXZt4C44f2CCi1qF4B3ZevfSYestORAKl X-Received: by 2002:a17:906:6d8b:b0:a3d:482f:3fc4 with SMTP id h11-20020a1709066d8b00b00a3d482f3fc4mr167653ejt.70.1708705407446; Fri, 23 Feb 2024 08:23:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705407; cv=pass; d=google.com; s=arc-20160816; b=GytFcW1N5C1LkoJxF4WxRfz4PFQsPjk4lHG9kr4TaI3xBOxO7CAn2SM1n7yBxycMzh FnQ2e6WXum8xxv+lnB7ZWO6F1gnrlI5/mJBAZwp1oBQdS7IUIHz4knEQSL3gY0O3+BnE NTIhclC9kGRYUk3A5VbAqmHir+/GZEOblxkepE+nQKuAjZdgaA3uOiHhSQTpelrfq/1c zIhMQa8gbrSISKD6kFWVcESpLR3FGjHyCpcH6lwzUN0RqCJINj0URuC5phYIcGICu7TR 3/5GjyTDdV7QNl9zoPp7yHiXkcwVAKDHCcDC8zVbVFTRL5Gdtym7ogVD2Ib2uKubUKqX ll1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=2yFOmIs6lXzP07yvwASM03AlhcNnV/QZvaAWj0gmeXw=; fh=6ukZQ6ZjJs6juvFWIJbF0d70thoDQs1Z7OSv/8Dh7jI=; b=0yL+aASEP4RFXAfOoJ3kRG+AzF1gysL5C6h8/yCj4eUWNF6rgchCf7+nIWtzuuwCPH yoEjSZZGa/2RELS38ro8WC86zbUK++lsaLFhB9MdS1NWGULOFyCqRTusXOXRja8q3b3i XZ8tkkbMxRBTA9MG6Okyv45spkeFLdbxjHaWRE8Win1kVvGoupqmhtlngyuS03ro2o+L cxeVEFgMfPb1GmZ3Kw48W7+sMWiwtNJfaPdLk9Z5NciR/fFb9XVqDvHfwxA0i4Z/+Hq2 TRxr78VZGPyLqdyRVCIGiIkEvsVJrdjxNJXiHAS5KqXQttrHWPEPTE8UVmJcR+Q+sg2n ZiSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jy+N5WCy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78713-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78713-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h17-20020a170906261100b00a3f4f713966si2236240ejc.538.2024.02.23.08.23.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:23:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78713-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jy+N5WCy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78713-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78713-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 10E0F1F22D31 for ; Fri, 23 Feb 2024 16:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 786D5128833; Fri, 23 Feb 2024 16:21:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Jy+N5WCy" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7A0C128830; Fri, 23 Feb 2024 16:21:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705295; cv=none; b=Bz5PeDWt+A9GFsaFtv4QtgO/wWf0sKXVcSHuyAeZT9qhWTkeujrXrNGr+v05kTo7754Fc4iZLOdA7HWnutOvfVt19PHz0Z35VaZr+Rn4R0mZILVHK7Z+2yT69LXXdOzW2nHHVJycHJ1aQWUnpIw5u8DrmRTcW91U/VRtj8k8ako= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705295; c=relaxed/simple; bh=nkzfDe78XYu9AKubEmy4nyub2amr94i3A/PBGGoWuuY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LEa5lniTpYRMQJDAJynquESUX6Cz3YxzOJ3TJopIW/sRWD1k7w7etThx+tALCOPdwaBBX+mYoj3XS8dE/IUt5zWD4Upfmp857b0TCjaK0Xac18ikal79I0UMUyfjZaohEcJd2SvnbvTgPvKOIbh1B+tvqsQW6WWCMU0m9J/PmTo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Jy+N5WCy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34DF1C433F1; Fri, 23 Feb 2024 16:21:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708705295; bh=nkzfDe78XYu9AKubEmy4nyub2amr94i3A/PBGGoWuuY=; h=From:To:Cc:Subject:Date:From; b=Jy+N5WCy5cbUF0V6xACl/I+BZY99NN06Lr+wOz6lyhH2ijaGzNrOoW+hUI2Sq52k1 TZQiGM1Fs+x1GmRO0VDlTb35ABPmFEjJPRwq5fzzYQX3vkoCN87N3FTY8BN3rbZl9Y LdP/6LVMV4VJw4RN+YHD96xKP1A6dkaaZj6P/eG1S6Q8X8r1olBtbgyvBbsMVmhHRw gPXS5zfA0rrL8lY/JM7t6ngqXMfZs4laGEJRUnxPemcS10YtwX/JVaQzdS9E9kuIIV hKqYP9uKP2TIemofzYXObff+Tvu9LMEwjJRtwIitNYyJi7pWnX0BW40FVvXAc9O6dv xyaIBMwuPH/9w== From: Conor Dooley To: linux@roeck-us.net Cc: conor@kernel.org, Conor Dooley , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Zev Weiss , Patrick Rudolph , Peter Yin , Alexander Stein , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] PMBUS Regulator cleanups Date: Fri, 23 Feb 2024 16:21:04 +0000 Message-ID: <20240223-moonrise-feminist-de59b9e1b3ba@spud> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1959; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=PZCrvOlM9Wjhm/GDfgvQ2jQYxEfSLDyZ7QMhFoY7KhY=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKk3jn5eMXvRng3avGynlOT5pzkwf0javHntt8PnjrdpS 6ywMJLY3lHKwiDGwSArpsiSeLuvRWr9H5cdzj1vYeawMoEMYeDiFICJ/OhjZNijsWUjY2fKS6HC HrG/kZFM8bLxE3e/E7XxCG+esW6W8B1GhsPSylEhL1bJnFWTmqDJfOq10vK9pz7LlFtMqTlepXI /gwUA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791707480930215034 X-GMAIL-MSGID: 1791707480930215034 From: Conor Dooley A v2 of Guenter's series that changed the name of regulators registered by PBMUS. The documenation (offical, not bindings) doesn't call the output Vout0 and there were no bindings for these devices that allowed regulator child nodes. Document the regular child nodes for the TI devices and allow regulator properties for the infineon ones. Naresh is already working on the tda38640, so there's nothing for that here DT wise. Cheers, Conor. CC: Jean Delvare CC: Guenter Roeck CC: Rob Herring CC: Krzysztof Kozlowski CC: Conor Dooley CC: Liam Girdwood CC: Mark Brown CC: Zev Weiss CC: Patrick Rudolph CC: Peter Yin CC: Alexander Stein CC: linux-hwmon@vger.kernel.org CC: devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org Conor Dooley (2): dt-bindings: hwmon/pmbus: ti,lm25066: document regulators regulator: dt-bindings: promote infineon buck converters to their own binding Guenter Roeck (3): hwmon: (pmbus/tda38640) Use PMBUS_REGULATOR_ONE to declare regulator hwmon: (pmbus/lm25066) Use PMBUS_REGULATOR_ONE to declare regulator hwmon: (pmbus/ir38064) Use PMBUS_REGULATOR_ONE to declare regulator .../bindings/hwmon/pmbus/ti,lm25066.yaml | 12 +++++ .../bindings/regulator/infineon,ir38060.yaml | 46 +++++++++++++++++++ .../devicetree/bindings/trivial-devices.yaml | 8 ---- drivers/hwmon/pmbus/ir38064.c | 2 +- drivers/hwmon/pmbus/lm25066.c | 2 +- drivers/hwmon/pmbus/tda38640.c | 2 +- 6 files changed, 61 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml