Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3983022pxb; Tue, 25 Jan 2022 00:38:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+peCe4ObFptgg56mnbQqJsiTj9tH9xzCHEypyWHLoPwigrRYSHGIAyY3ieBtHmCzaUl1S X-Received: by 2002:a05:6402:10d6:: with SMTP id p22mr19656840edu.211.1643099904627; Tue, 25 Jan 2022 00:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099904; cv=none; d=google.com; s=arc-20160816; b=cEVY9xw/8OnMICm/BtVnUZF9dGDUHS2HZjR0oZzIzSNjEqfvM4sQC+HW6d5gV4Sszb rFmsf85qJ+qT1PjCaKGATcIA2Cd9JgKmJP06FJCB53afo26Atu1W0sPtBWkOlMuuHXui QiaW1TIWKwcd90it3E9PybsAxR6aZyVdGMc/o3FdV6/UFhvdzRfcfEHQNiI1GcSDsmSS 8Ni2H0geETFEoeZkfCDbq5XF/8dWegsvZg/jQmjGqAK+8rY9FVtdD7ju8cASd68R6dU4 1q4/K/136/umM1QOT54d9Yv3MDgo6OIMdXDpZ4dgHxgGrBiUccYMoGV+GjxFLynSce1n WSfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=muJislQo56JK8jPw5RkQCrGtoGCd3t6/rtkh2XIwz6w=; b=1HSBvE8IVEGtOgL+nafFn3fkTm0yQuzOm+qLnBJau3r4+BezaRrckYj5Q6gH7un+77 YkV2tfN7XEiB0fCksGu/vwL5fZdy5p70v6VAckzqiG0v34EUoPOa7lv3WuoojL5hQSm1 yjAe2DinnzbuopVehUdV5X+WvvFOCTfm9C3gkucLt5ehTvcZPmx1knVeAvRthKphZJsl 3oPekGEDMiHLlvQwTWyZ8R7Umew27SOCd7CXlQMi4duVvv/5dkGGseYdvoPNjHprrkNp VwjHx55KoG7c5lu5EEd87AYqUEc/BV1Ff7ezv/pb/apRBjWduEfAe/9ddxs4Q8iEW0V+ aamA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=iNIssaEP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si1374115ejc.404.2022.01.25.00.37.59; Tue, 25 Jan 2022 00:38:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=iNIssaEP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1315995AbiAYCzA (ORCPT + 99 others); Mon, 24 Jan 2022 21:55:00 -0500 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:6356 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S3409895AbiAYA1v (ORCPT ); Mon, 24 Jan 2022 19:27:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643070471; x=1674606471; h=from:to:cc:subject:date:message-id:mime-version; bh=muJislQo56JK8jPw5RkQCrGtoGCd3t6/rtkh2XIwz6w=; b=iNIssaEPb42D4keptZxI2lMZU9kDig7VFiMcNPE8l3EbK07jfgeonbXK YoScnIPdfqK3DIsA5RIeq3znFMfEVANhQOqz6Gc8PVcvVJulVfFWUqFbz ZPU6Jbh9wsWtUGWZqaVCbvdLzt7xZBzFq6qUS7Hvsk7M7VX3GJ3h3nSsI U=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 24 Jan 2022 16:27:50 -0800 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 16:27:49 -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 16:27:49 -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 16:27:34 -0800 Message-ID: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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