From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88C07C47088 for ; Thu, 1 Dec 2022 16:43:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbiLAQng (ORCPT ); Thu, 1 Dec 2022 11:43:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbiLAQnf (ORCPT ); Thu, 1 Dec 2022 11:43:35 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73555AD333 for ; Thu, 1 Dec 2022 08:43:33 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id f21so2466225lfm.9 for ; Thu, 01 Dec 2022 08:43:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=L8hpSR/3nlqBj/Be+rcyGGbkrbq4xUfYfMKRCLbhddc=; b=lCu5HlOhQ7/BGDbpuRrV2qz9X4a1j8VJ7Ddkd6cyi0SCqY0tT3RyUR6fCYkvpfXxLI Sm0knrJkkt4pfkrUQdLNY5ikwXFBtrwim/h1rrqhnKWNJ8oAs+oMrx8/F6J6CD5Mds+f 9NAykPKuUh2xx0R3prZ4pL5903E/0iZtEaIRwYTIU87NuKgId1LNVfok6GKcJg3Kb6jB gcaGyxrJdXV+BfLF802Jy68tGJ4wh/OB9Os3Ia32rVrbgTLzpr9hrafgRO4x/gtowLwC VdsWFgDVYt8BDsQkFC2oQWVVJodCo+QV1Dr6S997LApfMfrw+ajXMWy2Rzm6znuyVbOn Q6zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L8hpSR/3nlqBj/Be+rcyGGbkrbq4xUfYfMKRCLbhddc=; b=G50OPu1VHjqoTIe26ejASlf1ilepH3F4X+dXe9yjHDA4ssOMuolvhIR2UYwl7nsQuU 6ng67mmWjWol6YxG/xP3xdYV70zeeysqFh4xaFA7g5w/U5VkTQeO58C6+qTnZkRwxtat FI/QclCd8JbItodXQgiL6SQcYce4vDtQJdbqlv9sU62Pjj2n4TTUqxki2LUsKGz5bK0L FXdlUdE1gMKIKrL6Y1xhN1h7l3DFig4SyXTgUJiPziMvYVUHhND1Qsnlvvon/ph9EMu5 XuSM7M46kRe/b1+uVPjC24U/8Rxz1Vpka1dNsOJh873SjmhVs9K+Qifni8I7J/KFJpqc eUqw== X-Gm-Message-State: ANoB5pnVvQ1pzxiARfIqz8qC8kD9Do/E81vBg1k9cXh38VcYbXntGmFi 47407b435s/Zd8mlWRjkHetelg== X-Google-Smtp-Source: AA0mqf6oJcaRDO1AvdOI0rYdDIXBvPwvqzgXbrEtLsnIb+oxjgL46hXpu0tYvA0hGrS9xy+ixNEmSw== X-Received: by 2002:a05:6512:208a:b0:4b4:b2c6:5d28 with SMTP id t10-20020a056512208a00b004b4b2c65d28mr20872835lfr.47.1669913011802; Thu, 01 Dec 2022 08:43:31 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id z15-20020a056512370f00b004b4b69af17dsm286886lfr.214.2022.12.01.08.43.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Dec 2022 08:43:30 -0800 (PST) Message-ID: Date: Thu, 1 Dec 2022 17:43:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 2/4] dt-bindings: hwmon/pmbus: Add mps,mpq7932 power-management IC Content-Language: en-US To: Saravanan Sekar , Guenter Roeck Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, marten.lindahl@axis.com, jdelvare@suse.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org References: <20221201044643.1150870-1-saravanan@linumiz.com> <20221201044643.1150870-3-saravanan@linumiz.com> <29de4d2b-3e32-809e-6ccd-5e7a4fe548fc@linaro.org> <785e942a-0691-f87e-b6e9-058749a79ec1@linaro.org> <8228db8d-2a32-1d23-74f3-05b9fe529a82@linumiz.com> From: Krzysztof Kozlowski In-Reply-To: <8228db8d-2a32-1d23-74f3-05b9fe529a82@linumiz.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 01/12/2022 17:38, Saravanan Sekar wrote: >>>> Plus additional comment for the driver (and related to bindings) was >>>> that this is not hwmon but a regulator driver. Why putting regulator >>>> driver in hwmon? >>>> >>> >>> Turns out this is primarily a hardware monitoring driver, like the drivers >>> for all other PMBus chips. Regulator support is actually optional; the driver >>> works perfectly well with CONFIG_REGULATOR=n (except that it needs some >>> #ifdefs to address that situation). >> >> OK, this would explain location of the driver. However the bindings are >> saying: >> "Monolithic Power System MPQ7932 PMIC" >> and PMIC is not mainly a hwmon device, even if it has such capabilities. >> It might be missing description and proper title... or might be misplaced. >> > > Indeed it is PMIC chip. I think this is not the first and not sure title > has to be changed for hwmon subsystem. > > bindings/hwmon/pmbus/ti,lm25066.yaml > title: National Semiconductor/Texas Instruments LM250x6/LM506x > power-management ICs Then I propose to put it in regulator directory. Best regards, Krzysztof