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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C6C0FC433EF for ; Fri, 10 Dec 2021 01:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KgBG4Hunb0+elAIzJ07qO7EhrWkfNZwkQWM1gFdzDeI=; b=iWURG+Y18xTXpk 7+06/oYYL78EIs0JP9qJCveimHCAX/Vqij8xXqgqNe5CPWWbgFJ2lRowYJ42DUKRQNmSRR3paSZdE 55bEDWEnzLmCm8n6r67AVlyQOQ1e/AbO2JJ1Aw0Sojk3zoMWutPci7hLPh86nFIxfC8pg0PmUFQXv qJbEj1i2Nt/DcW8CAANEdVNyZckTpxWFapi32jSWa3UgyEU13wJGBxT37x1lWBAHwld9mtyCLaJEz 6m+rlus4YzqOUx8BRwr/OhEXWKRDpDI8J2zlvbzDPNB2e9jOp6T+1eBVMFg/uHZNn547k4slMBsPk cRWCfrerU9hZsPGCj5jQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvV8F-000ceX-Tz; Fri, 10 Dec 2021 01:55:32 +0000 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvV81-000cbP-6n for linux-arm-kernel@lists.infradead.org; Fri, 10 Dec 2021 01:55:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1639101317; x=1670637317; h=from:to:cc:subject:date:message-id:mime-version; bh=muJislQo56JK8jPw5RkQCrGtoGCd3t6/rtkh2XIwz6w=; b=Yn+nlL+WLcerEqN0ZEQUHBTXViVABaF1OB9eKeMLIdkCdMrGC3NPAxo9 Vn1sbmDtsmpyKT0XzlRMgxDZBU+B9VbWaFNZhfZft/N8qniTosDqmkGhe df17I4ngIa1u0x2ad4/DAG9W6z9FyR89GmDjk7gnBOYVJUXNB5qNpxsi8 I=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-01.qualcomm.com with ESMTP; 09 Dec 2021 17:55:14 -0800 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2021 17:55:13 -0800 Received: from collinsd-linux.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 9 Dec 2021 17:55:13 -0800 From: David Collins To: Rob Herring , Sudeep Holla , Mark Brown , Liam Girdwood , CC: David Collins , Cristian Marussi , , , , "Subbaraman Narayanamurthy" Subject: [PATCH 0/2] regulator: scmi: add support for registering SCMI regulators by name Date: Thu, 9 Dec 2021 17:54:40 -0800 Message-ID: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211209_175517_318336_7F97BB05 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support to register SCMI regulator subnodes based on an SCMI Voltage Domain name specified via the 'regulator-name' device tree property. In doing so, make the 'reg' property optional with the constraint that at least one of 'reg' or 'regulator-name' must be specified. If both are specified, then both must match the Voltage Domain data exposed by the SCMI platform. Name based SCMI regulator registration helps ensure that an SCMI agent doesn't need to be aware of the numbering scheme used for Voltage Domains by the SCMI platform. It also ensures that the correct Voltage Domain is selected for a given physical regulator. This cannot be guaranteed with numeric Voltage Domain IDs alone. David Collins (2): dt-bindings: firmware: arm,scmi: define support for name based regulators regulator: scmi: add support for registering SCMI regulators by name .../bindings/firmware/arm,scmi.yaml | 11 +++- drivers/regulator/scmi-regulator.c | 57 ++++++++++++++++++- 2 files changed, 62 insertions(+), 6 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 262AAC433F5 for ; Mon, 24 Jan 2022 23:22:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KgBG4Hunb0+elAIzJ07qO7EhrWkfNZwkQWM1gFdzDeI=; b=YUmvCt5i8WHCmQ /P7xhw6cZOxRYD2fXQeFi1hLMyF37hoF/58qys3U4ac60bKkYvbN+bxYdpbl+xzGvbzwwrg6StglI AtFrr+Q8aY3DxcFppXvv536BKuABAkewlkS1KVUtJkfs4fLz7X+HGx8hWAuIVOpVKjOsuE5JLZ5Bh SB2pKtv00K5zv/xsR1hTbBblYJErNMKUYXPYK/wtFzASIS5NQLYyfrBgGZnY7SaatxCvVRjU4Hg7a OIxDsYXUomW8KTy4qiciz2B8N1778mk23CJmQNouaSUSzOw9uR5mt6+t92y3YeFCQ21UEmaBYDGAn gkW/Jm268q8D3ESs2hbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC8dw-005Z2d-Lt; Mon, 24 Jan 2022 23:21:00 +0000 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC8dl-005Z13-N4 for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 23:20:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643066449; x=1674602449; h=from:to:cc:subject:date:message-id:mime-version; bh=muJislQo56JK8jPw5RkQCrGtoGCd3t6/rtkh2XIwz6w=; b=HxsW81a1Px0xq3cKx78KiUjSHZ9yUX3M8QEX4HNJbVz4uNnKnuThWnlk xYQPeuIO9xnE64E6ymIHVBj2bezW2iObpFtC5ccWsnDhXwj8OlIbL5KVz Q5NBkxaaOqYUgXrebaO7e2nM7O5ROvK0SaF0ySuMsI8jD0qMUGn7sIalC g=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 24 Jan 2022 15:20:42 -0800 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 15:20:41 -0800 Received: from collinsd-linux.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Mon, 24 Jan 2022 15:20:41 -0800 From: David Collins To: Rob Herring , Sudeep Holla , Mark Brown , Liam Girdwood , CC: David Collins , Cristian Marussi , , , , "Subbaraman Narayanamurthy" Subject: [RESEND PATCH 0/2] regulator: scmi: add support for registering SCMI regulators by name Date: Mon, 24 Jan 2022 15:20:00 -0800 Message-ID: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_152049_836117_9339DFA4 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Message-ID: <20220124232000.TqNPUporZCddxIA2HXsOV9_cRFT1iJhZZkgwCKD0KdM@z> Add support to register SCMI regulator subnodes based on an SCMI Voltage Domain name specified via the 'regulator-name' device tree property. In doing so, make the 'reg' property optional with the constraint that at least one of 'reg' or 'regulator-name' must be specified. If both are specified, then both must match the Voltage Domain data exposed by the SCMI platform. Name based SCMI regulator registration helps ensure that an SCMI agent doesn't need to be aware of the numbering scheme used for Voltage Domains by the SCMI platform. It also ensures that the correct Voltage Domain is selected for a given physical regulator. This cannot be guaranteed with numeric Voltage Domain IDs alone. David Collins (2): dt-bindings: firmware: arm,scmi: define support for name based regulators regulator: scmi: add support for registering SCMI regulators by name .../bindings/firmware/arm,scmi.yaml | 11 +++- drivers/regulator/scmi-regulator.c | 57 ++++++++++++++++++- 2 files changed, 62 insertions(+), 6 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel