From patchwork Mon Feb 22 13:28:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 386403 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7662FC433DB for ; Mon, 22 Feb 2021 13:29:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 237A364E74 for ; Mon, 22 Feb 2021 13:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbhBVN26 (ORCPT ); Mon, 22 Feb 2021 08:28:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231454AbhBVN1h (ORCPT ); Mon, 22 Feb 2021 08:27:37 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8EB1C06178C for ; Mon, 22 Feb 2021 05:26:56 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id 7so19098844wrz.0 for ; Mon, 22 Feb 2021 05:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oY/R8xUmHoMXdWUIvUY6QVkFhbtPMa36GqY92BVHRh4=; b=ZrkO7D7W1m+pHeDT0y+Mjq0OZZTO/iloZnizApAuQm31H/OcdKgC553JDtvxetCxJl +96dCCql6rxhluWzBdbngxZSy1GwFqCbdYIkYBsDiiAyJGMjJOv7obV9M6mnL/xQOELz YR3r2Lq9f7IpxNsj5DJVwaG0RHUTzoRTRQDdlKs0keh18kjBVeDOLnS29OUu4mU29jER ZsLrDjAePoECfAi/6Z2KTj3vm32ZnVYMCS+Dq/1fT0ZtNDJBut/3D6f3WoErUJeOLLYv +bF2vCnxTmHnVFc2cdKtQDMrWSk3OgabHb39uViM2bA9i20ciL6A2ars9MsnY8Kw0bNp 0Crw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oY/R8xUmHoMXdWUIvUY6QVkFhbtPMa36GqY92BVHRh4=; b=MKeixA0Uly0h94eF7W4WOaABpT/AXJKKNgAd5qGRwigrh+udmUbbC/4XWkJD3e82nW 7KU/Ns86swXUXAoNacwXH1+HpoQIAFPkb/SkU2aEvqKfI/tooSUXB2cb0GGXKcA1Qzk5 2DRW7tq2k8c1C01ikUanQbbbTsrcSFhMW/gBbsAdLHzJTc7cKdtK8br/E/FvSLotSwkA bgSyDlO1OkOM5OvIg8L1z4xflfhsrmGPwZEGiwE+hWWIAxZ2/J6CE3DxvQ93VxJVbAFG LkNNAWOY58BP01NiWfHxeR80/AwETuewb8amovnzJTph2lMZP2w57N2id1aMk5gy3dsn TQ1w== X-Gm-Message-State: AOAM533Z1/5yZdbnEelvQcMATqXhiCP5lfh/VUaIDnLAO1lWoXhelXpd SLHdAl2JrAD/LAmrXi4HG6QDrQ== X-Google-Smtp-Source: ABdhPJw1UaMqpM38H0NKxUaUib518kwdyHYL8VLR+ZlyPKjuR2aCe/xkjkwgsY7smRX4Wo+x3REXNQ== X-Received: by 2002:adf:f542:: with SMTP id j2mr21639953wrp.46.1614000415617; Mon, 22 Feb 2021 05:26:55 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id t7sm3079918wmq.44.2021.02.22.05.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 05:26:55 -0800 (PST) From: Bryan O'Donoghue To: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, stanimir.varbanov@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org Cc: bryan.odonoghue@linaro.org, jonathan@marek.ca, dikshita@qti.qualcomm.com, Dmitry Baryshkov Subject: [PATCH v2 1/3] arm64: dts: qcom: sm8250: add mmcx regulator Date: Mon, 22 Feb 2021 13:28:15 +0000 Message-Id: <20210222132817.1807788-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210222132817.1807788-1-bryan.odonoghue@linaro.org> References: <20210222132817.1807788-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Dmitry Baryshkov Add regulator controlling MMCX power domain to be used by display clock controller on SM8250. Signed-off-by: Dmitry Baryshkov Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 65acd1f381eb..81eaa2508d5c 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -214,6 +214,13 @@ memory@80000000 { reg = <0x0 0x80000000 0x0 0x0>; }; + mmcx_reg: mmcx-reg { + compatible = "regulator-fixed-domain"; + power-domains = <&rpmhpd SM8250_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + regulator-name = "MMCX"; + }; + pmu { compatible = "arm,armv8-pmuv3"; interrupts = ;