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 BFC34C433EF for ; Tue, 22 Mar 2022 00:49:14 +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=9Z7ObhGKsiW1AWtMCKUAYwnM2qgnajYmxeUEhOkcULM=; b=18fHZ+s0Q3pfJO oU/Wg+W12UszjZbQ+LjkOMUlBOvdT/hYVPA2+RvL+oSi9LpG/7gN9vPxVJebHUDIREZ/i/QTBSNF8 u3OAgsGSXpMfgrPwb8WlMVYp0Ily28zQI8O88xlewdaYzMFXT3bvd+d6EowltTPg5VtT0WL9vyB3l otXDslJleqH5MUf47LT2UqyNoiSoOYNUAAFxQAP/THhHbzk0zoZ6FEPTlSslCroICQ1xrUMxVKHF6 OYBW+sZW2FABT+2q7XIm45IOvpw9oFVWrCrrOckMagRvN3UcJcK2iSPTNIfsQA63uds9WTd49LwiM faeV9Bs/JYMxR5OGOZFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWSgp-009Y8D-V2; Tue, 22 Mar 2022 00:48:00 +0000 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWSgl-009Y5d-UP for linux-arm-kernel@lists.infradead.org; Tue, 22 Mar 2022 00:47:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647910075; x=1679446075; h=from:to:cc:subject:date:message-id:mime-version; bh=C5lTDdOfMPAE0ajPAQDA9bQQeuDZypCaA114x2yCVZU=; b=FCK6Tb/77E+zflC811kuhj4ZnAL8iFerGbh7F184uUen+7xvW2RDZ2Dy oYW/VpKwFlaWrKT7iMaXxHpWRmvMs95YqwgXKkpEUOrGOZT45ROiEau9n xbgwaxWDK/+wJe5SsaSBe8cQnpIMm35R9Op+2TtYUT86yCfSdvp9bvLIz U=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 21 Mar 2022 17:47:48 -0700 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; 21 Mar 2022 17:47:47 -0700 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.986.22; Mon, 21 Mar 2022 17:47:47 -0700 From: David Collins To: Rob Herring , Sudeep Holla , Mark Brown , Liam Girdwood , CC: David Collins , Cristian Marussi , , , , "Subbaraman Narayanamurthy" Subject: [PATCH v2 0/2] regulator: scmi: add support for registering SCMI regulators by name Date: Mon, 21 Mar 2022 17:47:18 -0700 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-20220321_174756_035504_63E5E6C6 X-CRM114-Status: GOOD ( 11.69 ) 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 "arm,scmi-domain-name" device tree property. In doing so, make the "reg" property optional with the constraint that at least one of "reg" or "arm,scmi-domain-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. Changes in v2: - Replaced usage of DT property "regulator-name" with "arm,scmi-domain-name". v1 of this patch series can be found at [1]. [1]: https://lore.kernel.org/lkml/cover.1643069954.git.quic_collinsd@quicinc.com/T/ 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 | 15 ++++- drivers/regulator/scmi-regulator.c | 58 ++++++++++++++++++- 2 files changed, 67 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