From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 72150181B91 for ; Tue, 14 May 2024 22:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715724851; cv=none; b=NAJ/8ToSJLXBY40JT8EPfaUaj/mWNFkzYCBi6dyUfvZVg84puQSZTif79LrLMXNnRCQYHvFzwyqLmJa4W73cnbPzJ0fpnR96pHRcuyPruK0MYQapa1PmJILnb6wGe0TCoN2oIRvcu9HJJ0Q30NjL1nS99pTFR1yqe+OGOY1BKb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715724851; c=relaxed/simple; bh=lzBPunHqv+o+xTxtSNAE8nU1RNUODhqWO5eQAE9ZN5o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SZ2yLpjiZDWBqfvJ07m3Iee/zMjJ7jz8PUp18AIw8KOGgmD05lR+wZHgF0UJK3eSSB+tMjtEDJ8vQIiJKkyPgHCSJOt2BR3jv0phnF3k1yXeWmjj2Ix0L/z01VVjr6f1v0+JPckKXi88q8pyVd+kiHiO20aqtg4RNAvlTRBsmQQ= 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=PZdVlN7M; arc=none smtp.client-ip=209.85.128.44 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PZdVlN7M" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-41fe54cb0e3so38953915e9.2 for ; Tue, 14 May 2024 15:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715724848; x=1716329648; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=47eSe1ifqIz6O47Mgn/jUdV6aglJ10TXGnxAmO1D8Uw=; b=PZdVlN7MH+/3CkSpd8eZdQLNn887XcoIMJOmrT89D8Syv7RjKHmX+7fxb8FkMFAIpD /AxKkhFxEBLU7gAXQZ1apAYY6Iyz7cgtd9foQA938vKXcgQUhCn+yuqea+jC5fS3cDpT 5AtbyJeQtbTpNAxZ29PJh8qISTJORMUu6LcnJZnzrYpuj2riI/vzNVwGLPNdoQ1dmp0J u3Er4a1kspOKKlys2NUqJqNmds2WhYyNLpxVnP01EwZ2eciR1rZRJO8v7sTQ/HeRD7tg NIfKhrnO/n41E9mONum+y8kWMyqcS3/izymmvRVNZJxkbZBvh2yWZBmwApbpjvP0pDsE OAuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715724848; x=1716329648; h=content-transfer-encoding:in-reply-to: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=47eSe1ifqIz6O47Mgn/jUdV6aglJ10TXGnxAmO1D8Uw=; b=tZJWKj1GZB/VM9tTb1JPCalIFOkoZ35mYw+501+ZdEgcDQvUrdkhgoc+UuUK8rpi7R 2B1SxLuv6BpJtuxu3ay9QS/G9f4Ow8W5zX9WBwc9/NFQUjxjO6AF+my7OckoqRqNUAaz qhZSfi7HPAAz3DXvsbxUiM6WZxbbf90RjrdavGlKxa9WvXKUPL+WRnTT9VPml1nRpNv/ yDUCLBCGynZQldTD6fDUTYR2yesw5rp8Lnkrr1eZWGdB9keBJZSixuY97V79KdrTtlIp x0akEMBl9fSTXgxaXcLhEuSYVXrRbbxIIZFuNwrQmmLRihUGHfiDuodt00a3ihJfCsYi Dofw== X-Forwarded-Encrypted: i=1; AJvYcCUZZLG9WT0T2NSpTphTwVh0cxfT7Wwkl/CLN1HWrp+CC86WVy+gR9XNqWS16ZFeP527oTBRVm6FWOTubUTdWrUcUTpApcbvTzDATQ== X-Gm-Message-State: AOJu0YyOwRJm0wyfQJdUAWHRbGbXKQVrAfAk9uD4vclFdWjlSOgGYnrt C9G1qe8i55jBBHt5XJQNspD0Z6cgxjwKUrqmgZw6n2kCs6+V50T/qrXgwe+4BaU= X-Google-Smtp-Source: AGHT+IE9Exumr8cSW9rXqiQSZiKueBgNhIQL6ZpN/BQTxO5vOYlNwuHSv+P0bAk7D61Uvo3cGbQVjg== X-Received: by 2002:a05:600c:19c8:b0:41f:e720:eec9 with SMTP id 5b1f17b1804b1-41feac59c27mr103801265e9.25.1715724847761; Tue, 14 May 2024 15:14:07 -0700 (PDT) Received: from [10.1.2.16] ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41f87d20488sm243327695e9.25.2024.05.14.15.14.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 May 2024 15:14:07 -0700 (PDT) Message-ID: Date: Wed, 15 May 2024 00:14:04 +0200 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 12/13] regulator: add pm8008 pmic regulator driver To: Satya Priya Kakitapalli , johan@kernel.org Cc: andersson@kernel.org, andy.shevchenko@gmail.com, broonie@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, johan+linaro@kernel.org, krzk+dt@kernel.org, lee@kernel.org, lgirdwood@gmail.com, linus.walleij@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, quic_c_skakit@quicinc.com, quic_gurus@quicinc.com, robh@kernel.org, swboyd@chromium.org References: <20240514134317.691887-1-quic_skakitap@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240514134317.691887-1-quic_skakitap@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/14/24 15:43, Satya Priya Kakitapalli wrote: >> On Tue, May 07, 2024 at 01:48:30PM +0200, Konrad Dybcio wrote: >>> On 5/6/24 17:08, Johan Hovold wrote: >>>> From: Satya Priya >>>> >>>> Qualcomm Technologies, Inc. PM8008 is an I2C-controlled PMIC containing >>>> seven LDO regulators. Add a PM8008 regulator driver to support PMIC >>>> regulator management via the regulator framework. >>>> >>>> Note that this driver, originally submitted by Satya Priya [1], has been >>>> reworked to match the new devicetree binding which no longer describes >>>> each regulator as a separate device. >>>> >>>> This avoids describing internal details like register offsets in the >>>> devicetree and allows for extending the implementation with features >>>> like over-current protection without having to update the binding. >>>> >>>> Specifically note that the regulator interrupts are shared between all >>>> regulators. >>>> >>>> Note that the secondary regmap is looked up by name and that if the >>>> driver ever needs to be generalised to support regulators provided by >>>> the primary regmap (I2C address) such information could be added to a >>>> driver lookup table matching on the parent compatible. >>>> >>>> This also fixes the original implementation, which looked up regulators >>>> by 'regulator-name' property rather than devicetree node name and which >>>> prevented the regulators from being named to match board schematics. >>>> >>>> [1] https://lore.kernel.org/r/1655200111-18357-8-git-send-email-quic_c_skakit@quicinc.com >>>> >>>> Signed-off-by: Satya Priya > > This is my old email which is discontinued, please use Please submit an entry to the .mailmap file Konrad