From patchwork Fri Jul 9 17:31:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 471881 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp517276jao; Fri, 9 Jul 2021 10:32:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtJCT9dT/7Dgf1MwWWqEuWGhnq5haNXDI8qUOYHdBNP1J1BIitdbdLSjn7AqZce4eXRlBA X-Received: by 2002:a05:6602:17ce:: with SMTP id z14mr8832154iox.73.1625851933034; Fri, 09 Jul 2021 10:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625851933; cv=none; d=google.com; s=arc-20160816; b=ISJhBvnHoBRQQhPbxp1tT+R2L/hquU2wV3QNf6+PtYeaWJ2/bw9Wy7y11kJbWq+KUa kfOUjoSUflCB3mX3Z26TuZ7g2Ppu9tZXgDIEIcYZxBDxeUml4joTeFD/Ay71hgodmrzT AcmlDMgAtVK10WlVxemFD1vAWPsa7O7ot5KBtvDL/R++eECowVsABSBRxoT8eq/ylCWK uSm5Eg6T8sUpOBrTSzttTmGxlLeyzYOpAY8ZJtYLQAbND6mlY9TwDF15dD9KPNSe08KY /X8X+jFS7+CVM5PJQB/lts7Z4hKetzeXoJYtYbJvpe+8OdO1Cr4DbNQ75FnRMxKUh59f 41bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+l6RNZfO6t53h33tKaqwIC7dbp1+6FXvY3b6ZyHCbIM=; b=kzkF93azXh0628rmqtSQ/kv6w0XRzyI+pvnQA7u33ALXMPLefHUuMOT+/LD6PyVRmv nB9nibrPS2TkieDRy65y6cUeN1Du5fT9ojJbnOcP03sBEl3f0CEvyEfBliMHFbjn2wwf Zqw2i3teec63sc+Q9CGZhkTtdgifILdWEP7HmS58kOTQNixUWyNit/tS/JI+e4RYnwcI 18QXiGH22r7z1hwQVqQIcGJQ4nqOsXwnLVIS9EcH+Lc9Zw0BQrnBME3E6z6oS6CQfz4E 69zfhFa9gqSf4lEe/EfrVwYdGmGfkSsWivnlrQ0d4+1Aaf9T4XVqRZ1ljrJUF3eGgMWh 7ALQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kQuxiBVK; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si6886612jas.65.2021.07.09.10.32.12; Fri, 09 Jul 2021 10:32:13 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=kQuxiBVK; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230082AbhGIRew (ORCPT + 7 others); Fri, 9 Jul 2021 13:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229841AbhGIRev (ORCPT ); Fri, 9 Jul 2021 13:34:51 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813F4C0613E6 for ; Fri, 9 Jul 2021 10:32:07 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id x25so11941337lfu.13 for ; Fri, 09 Jul 2021 10:32:07 -0700 (PDT) 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=+l6RNZfO6t53h33tKaqwIC7dbp1+6FXvY3b6ZyHCbIM=; b=kQuxiBVKZRCQhRmh45OAszosxWefqx6abf0JSPJUbxbD9VD1vshSdblR4to5B1zeIM gd8P/SUQNBTpNjdAGm/Vt/WxQYMdp1eyfknRL6zQz2yYIj8SjED/S67WvXdGuFsHcucV yP7AV5XY9AkTDI7TM3U+dXuVLX1325XamDBt0rTAkgGP2JDMyPzB8GXg6cYbjBGMEMBA cfWkwwa5VIvDB/nR3p/Mnpr4zWOd+f7R9OEUH0nlcdlJJit2FFVL11Wi+mdCgOesS+JZ 1Em+7pkqqScZifBTk7Jm6onIvpzJUbHEAe9vNdZgnPmHzI+OrF/rfvb/1XwAtWGOm+YA nW/g== 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=+l6RNZfO6t53h33tKaqwIC7dbp1+6FXvY3b6ZyHCbIM=; b=iRnYdis2bJSUHJQHIkL4o9KGo8wOleTsW5MMvAIqsRAAQ/nM/BlIreFLed0ULP/zKh vzs39BnnbQ+NlpqMAE6jdErs0LR/XEEHEkg6wgnevv7+1prUpw5k7MGASEKekZd9e1Ml Mn53IuUR5CHIy0W/cJksSOTUeWC5vMhkt+TRuV11HypIlI1SXm5joc2xImgtqfUmoidY n+XGXPCmZ1hVbjzuZaJuacvh1fEA3iFDgRVzK65r311NkY9A2ANXXWR+fXhgtB0ZHT/u fEbo41bfPhpYGCgACcddGTKKbh6XDkID3d9qMnSXV8ZkwJKW253HxZj0umyAKR1FCz3Z RGaA== X-Gm-Message-State: AOAM533R5nhHwm6ksu5V5OqgFUXib7HfmRZ5ZNY9y+V+mYkWxfPVoSV8 dImmT0IW0nqOONwGGnHw4p6UMQ== X-Received: by 2002:a19:6d01:: with SMTP id i1mr30576206lfc.422.1625851925764; Fri, 09 Jul 2021 10:32:05 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id b14sm511129lfb.132.2021.07.09.10.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 10:32:05 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v3 2/7] dt-bindings: clock: qcom, videocc: add mmcx power domain Date: Fri, 9 Jul 2021 20:31:57 +0300 Message-Id: <20210709173202.667820-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210709173202.667820-1-dmitry.baryshkov@linaro.org> References: <20210709173202.667820-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On sm8250 videocc requires MMCX power domain to be powered up before clock controller's registers become available. For now sm8250 was using external regulator driven by the power domain to describe this relationship. Switch into specifying power-domain and required opp-state directly. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/clock/qcom,videocc.yaml | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.30.2 Reviewed-by: Bjorn Andersson diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml index 567202942b88..db4ada6acf27 100644 --- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml @@ -47,6 +47,11 @@ properties: reg: maxItems: 1 + power-domains: + description: + A phandle and PM domain specifier for the MMCX power domain. + maxItems: 1 + required: - compatible - reg @@ -61,6 +66,7 @@ additionalProperties: false examples: - | #include + #include clock-controller@ab00000 { compatible = "qcom,sdm845-videocc"; reg = <0x0ab00000 0x10000>; @@ -69,5 +75,6 @@ examples: #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; + power-domains = <&rpmhpd SM8250_MMCX>; }; ...