Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp256317pxm; Tue, 22 Feb 2022 09:59:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0DpfnAQnwIMWp29Cc7AOpjXcBT6bgTRmgANoBpYP+zORsN6tl3leg4eY1OAG/dyBwq63m X-Received: by 2002:a05:6402:518b:b0:412:80a3:fb6e with SMTP id q11-20020a056402518b00b0041280a3fb6emr28550399edd.84.1645552787767; Tue, 22 Feb 2022 09:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645552787; cv=none; d=google.com; s=arc-20160816; b=e8NFPCpYVIPDzQsKHna6nqSJyCvJ5kFZV1qY2oV7QKwkw/yCcUoztlS1HwdJJ6ADhR TNTuazvidIhKHJMBSyHizoP3E/zGuSQtT/72+pwNAMJV/Z+OjAdzDlLq5084whQHcYLO 1lha+HtbRQ+WE3PJsPwvc/RVqLTcfe6sguRk9bl8AyAhQIGlh+SkvAniJD/r2CZUSNmV 4b3kIBB3sj6y53JdyKnruGkVCLDoHKihjgHP3TxsghWSXEtIuhpSAWRxhWkwd5et0t0u 1C5ksULqgJSAvbzSU6ZgyBEoNORvCEfoLWh/iOga3imXB/eKjXm6B6ThlnpGTZ18g2VG cqyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=7lwww6qytMHobo/IrTZR1dCVgaY8SomLUb6wdjfR/YU=; b=vDQfgl/+gLQBnxE7vAzY1oh8j9KAjxCKVaXe++yOdB9lWZjkTwFuxiLFE0ku1vo2uQ GFqxPN03EHb6cFTY5tYSd0iBK94GCSlAfw4Ysdlt17JsBKUPBgiPoUJ4lO8/Go++xosU 8gGoMde/0xqUXJbX8l6BcM0XNC5gK2zbsWhM0WLS6xuW8SxGSWJsJ0w45kuhd2XTXB7o Mwd1vm6TVQu8Ux3NHx1yEB3Al2jzUK+cuIOho0O61sJnzQIMTBrzQ04X9A645Jd0mQx2 0+lsxO1QpFceP6RPJJx8Um+S3gANJaD0VOQT416x0sAOzAicWJ2HYS08SsPK78AsM7jU 5h6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XEm4WkG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17si4416435edx.648.2022.02.22.09.59.25; Tue, 22 Feb 2022 09:59:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XEm4WkG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234347AbiBVQvf (ORCPT + 99 others); Tue, 22 Feb 2022 11:51:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234344AbiBVQvd (ORCPT ); Tue, 22 Feb 2022 11:51:33 -0500 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3739516AA7C; Tue, 22 Feb 2022 08:51:07 -0800 (PST) Received: by mail-qv1-xf33.google.com with SMTP id x3so511919qvd.8; Tue, 22 Feb 2022 08:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=7lwww6qytMHobo/IrTZR1dCVgaY8SomLUb6wdjfR/YU=; b=XEm4WkG0oOgN8AUZzTVDbHzgu0/VcD27pX2Zf07bKZN6JejHr9JLwlByKexE7+JKyb 3OtNgcJb1jefCbzI4oG77LpcI5JOBxmAZ1nP95MrR7+NFJeP0u/UrVkxzHE+9QDcwvMW YAPsKvEn1ZArVMPvnDUTQCXlLkLtkPiLHjhydgHLK+fakg8veEo2B8R/Jv2JsGIw11Fg FvvzTdV0RMP8W0Gy3e6Gt1e2Y/Baf5RQ/BS5wElA26uzSd+NpzcRVfqCASIADP+th5XR wfHc8Z1mXHKeSdYq3X39YHXHLYqmZQRj50bIeVvrnRyfBLRRpaCmXMV/j+v8nD+3ne2M gPQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=7lwww6qytMHobo/IrTZR1dCVgaY8SomLUb6wdjfR/YU=; b=8LFfLp6TApoVzVuNWLoRZ17rXgMO0KLLauGMWiQneLWbJfTxfYRwKtntzX0LMQEyH9 Hi0/IQ4bb4dT1E4QaIKCO4AtGqDjdQ0ciyCs7MMbnDOpJd3SnWrwlD5rBljcJIrd/3/V f0FMPQ714ly4UPlgK49oACxaJvfF12nY/h/wevws17vW48W1p2lzOSqH5kXcZWNby3lW NIcacefZ5/qJXmUA7O5wijV3vjjQq9/pgbLkY+5FXEN/SbqdAaucXVPlizhCFgMXSHkt jU7ciMXcS8uaeoQbfGuxeESKDrSo1+jLTF4sijOeCADsAAIVzgYZ2Wdi8Y7eE6vrgH7L mFGw== X-Gm-Message-State: AOAM531DQePtmUp6e7trF7wMb1DeuACw4Y5agCFVDxFDDMQeA5UDwGLZ hGdNRBgnH1sbrzSDnjU7EFU= X-Received: by 2002:a05:622a:153:b0:2de:4ddc:8a73 with SMTP id v19-20020a05622a015300b002de4ddc8a73mr3393641qtw.636.1645548666401; Tue, 22 Feb 2022 08:51:06 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id bs39sm80972qkb.24.2022.02.22.08.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 08:51:05 -0800 (PST) Sender: Guenter Roeck Date: Tue, 22 Feb 2022 08:51:04 -0800 From: Guenter Roeck To: Marcello Sylvester Bauer Cc: Jean Delvare , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Patrick Rudolph Subject: Re: [PATCH v2 1/1] hwmon: (pmbus) Add regulator supply into macro Message-ID: <20220222165104.GA255067@roeck-us.net> References: <58f2ff7b90233fad3d7ae2e9d66d5192e2c1ac01.1645437439.git.sylv@sylv.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58f2ff7b90233fad3d7ae2e9d66d5192e2c1ac01.1645437439.git.sylv@sylv.io> X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 21, 2022 at 12:09:56PM +0100, Marcello Sylvester Bauer wrote: > Add regulator supply into PWBUS_REGULATOR macro. This makes it optional > to define a vin-supply in DT. Not defining a supply will add a dummy > regulator supply instead and only cause the following debug output: > > ``` > Looking up vin-supply property in node [...] failed > ``` > > Signed-off-by: Marcello Sylvester Bauer Applied to hwmon-next. That should give it some time to mature, and we can pull or modify it if it causes any problems. Thanks, Guenter > --- > drivers/hwmon/pmbus/pmbus.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hwmon/pmbus/pmbus.h b/drivers/hwmon/pmbus/pmbus.h > index e0aa8aa46d8c..38f049d68d32 100644 > --- a/drivers/hwmon/pmbus/pmbus.h > +++ b/drivers/hwmon/pmbus/pmbus.h > @@ -464,6 +464,7 @@ extern const struct regulator_ops pmbus_regulator_ops; > #define PMBUS_REGULATOR(_name, _id) \ > [_id] = { \ > .name = (_name # _id), \ > + .supply_name = "vin", \ > .id = (_id), \ > .of_match = of_match_ptr(_name # _id), \ > .regulators_node = of_match_ptr("regulators"), \