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: 385777 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp1272822jap; Mon, 22 Feb 2021 05:29:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHnWQUXobIe58lnCI8EOghCKyY9+Tpt042pnbcYDsqxIj7bdFtHiqux0KqFcjFMSYQu8D8 X-Received: by 2002:a17:906:4993:: with SMTP id p19mr12385030eju.421.1614000550422; Mon, 22 Feb 2021 05:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614000550; cv=none; d=google.com; s=arc-20160816; b=ZKUQxIj6RYnkRcyvhWD7PVQq5aPEtvTM8vKV5UGajidHW+u9YAc55hE4qia4PCuX7g nTr9lH+ImLMuAPms6vT17DDnhb3lJJJUkwKyYkQdJV+CYhi2mLfpwgF6E9cgIXwdxMHS 1XCJo6AGzeCKsfGqzPh8/qPOpdjGtBrS05CBoc1XEdFNUvPTv/3Vchmbh6rJXfZKmLuN NwpRfaGL+LzCknYEnZ4DiR9ZvOBRdeXnlKin4JVl1PGTIMW9wly6pU57nV4c8WbEdUdf d2j4ztRZGl347jOkRTL41WMRzECRbsv1vU58/gh9INi+Km+w6+HpmhUMlHCGWY2zovg9 2KZw== 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=oY/R8xUmHoMXdWUIvUY6QVkFhbtPMa36GqY92BVHRh4=; b=Sl8rPYgA2xSYBtsAuRed4uyK5hNebz6qP93IZbq7cmCMVkxvnxQqjMBfzMgD9qp6hN /3bPnR3Quwy1L/KfL9xw4M2A1P+K7USf9w6ij8xk8oDJ2em9YnmVNkeWsC6VbZ2k/bSu nhzePdqsKmgnEGh+3rENW9Qp8O4a+p6RS3HuIG0Is+jNxu/3EdtVrR5Gu5EdoWHZfnOn dQ2GVl/ET8+M/eE1xy2TcdXyzdMcGdnJND7IKWiNbIaGBuKUzBy+8Uqdjh8dxgeWeLCv ciVbRxYlr5l5ZxBfJXFR0yclerRTPTqvmK1YYhGhZ/jR5DjFFeoSDbD+uQwFRzs/9hqx Q8Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZrkO7D7W; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 z3si11060543eja.575.2021.02.22.05.29.10; Mon, 22 Feb 2021 05:29:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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=ZrkO7D7W; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S230371AbhBVN2x (ORCPT + 16 others); Mon, 22 Feb 2021 08:28:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231486AbhBVN1h (ORCPT ); Mon, 22 Feb 2021 08:27:37 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEE31C061793 for ; Mon, 22 Feb 2021 05:26:56 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id h98so14263416wrh.11 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=IzCg/eyyS+oSKDYM1lw1+bgLSgLg54orGHR2Nvp7ASCjBtouSIiDJbwcYI1ZEuYFLG XdtBTrKYS9HC2Urj09Hz0FjaMk0llQZ1b/qu597IS/gduU5Vn2fY7AqPev3gOKnr3jFo 61qv1AY39+Oq7iW5gxHxknmOu52eOY1ZoUyIhCcsXpytVQh8F2zF1Z03HgVyz1ZTPkPR Hq/VYtU1oSxVZ2PhfQCf/FLLRlV9/HIo+75QtNrDdDjXf5qAZFw6Ksgs/QZheJw3FW8b ZBq+CPOUi5KLsWkmv19IWwNv27fJ6rz1kCVacKtD4xY6xob6k/kwjAXunsY283RUULHE wqiw== X-Gm-Message-State: AOAM532u8tdUpgBUfNwNhHUP9kFhnmsu0/Spiva9JcvTYn8NWgYbtgMS PSO2NBicGzJVUkwjjRIyhai5wQ== 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: linux-arm-msm@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(+) -- 2.29.2 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 = ; From patchwork Mon Feb 22 13:28:16 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: 385872 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 9EA19C433E9 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 5163A64E12 for ; Mon, 22 Feb 2021 13:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231789AbhBVN3K (ORCPT ); Mon, 22 Feb 2021 08:29:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231968AbhBVN2B (ORCPT ); Mon, 22 Feb 2021 08:28:01 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B464C0617A9 for ; Mon, 22 Feb 2021 05:26:59 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id h98so14263465wrh.11 for ; Mon, 22 Feb 2021 05:26:59 -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=qht2WelTwqkDaQzSNfoAbkrAvuNtWrmENyh0P2R4V7c=; b=wCcNugEanrPf9ajFXz5ivsL2nfsbqdo3jGcU5OGl15Po0dcfCCH4M1UxlRdDmsCmcT /I2diWIS5rK00Ts2uZOoYZj3lVnxfy24hgRJO4d1VIYfrqU290SEDsMLSguf6xstf+2h isEhNSITMy/oiYpTWZ9wJsmdCQC3TYQSxwuXR1lkLanl6fBhaJooegGeINu/WwLErDEJ +9j+/gpeW0vArM2roNr1yFJWD6Wu9C8iyNTFj3wabKN+qVwOgxZETtn/dFFdLwMeb2VF I6AjIa1h0QYzEu0f0N4P7IqPyKuhH/hs25R9lz0pG4Ig6sU026JqLE6bVzZTSfmInYWR tdZg== 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=qht2WelTwqkDaQzSNfoAbkrAvuNtWrmENyh0P2R4V7c=; b=oHYYZioyQNi3TIoQW3pFnyh5OmE+d5aIIPWeN66nvpDnK/U4pRpvxT4VIiDZIY527z +RmeI0xA0m6KQLBr59jF1W8pp2sn8gPLXvA7lxFQfr6SuQW3L1EwGc6sn1rASeB7MNcD rHsVt3bDpDuQ7UUD7U1NPH9JX/MgHdwgadM//CJMZVZxNDhhWt32QjYpTmIy9ins520k h7OWLrOAEOXuq6y9ly2Yx4et01tdxxyVGiIDOVLf9ElO7ZIiC3oh4pDEIz2NUwZ6EngS abNm3uWsVS8X4RbukzVVtbULD7hUR7DhGEINOriz7VAPfR8HWqzKNqMXWo/a1ZN6vlEm SIgg== X-Gm-Message-State: AOAM532F4uLgossIiJxPz63z07qpTNDKwN4U71r9nfBrz08yEqxxx25D oJuiobbfrLlHUlYW0zqmae9rIQ== X-Google-Smtp-Source: ABdhPJwfF08im2ERxcqlOl6o3K6eaws9L/SWLmntJT8S7+wU/94imDxW6xmDy6Mx/AgVUrZ9tjUEvA== X-Received: by 2002:adf:e847:: with SMTP id d7mr19082950wrn.367.1614000416647; Mon, 22 Feb 2021 05:26:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 05:26:56 -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 Subject: [PATCH v2 2/3] arm64: dts: qcom: sm8250: Add videocc DT node Date: Mon, 22 Feb 2021 13:28:16 +0000 Message-Id: <20210222132817.1807788-3-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: linux-arm-msm@vger.kernel.org From: Jonathan Marek This commit adds the videocc DTS node for sm8250. Signed-off-by: Jonathan Marek Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 81eaa2508d5c..3639792411ce 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -13,6 +13,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -1810,6 +1811,19 @@ usb_2_dwc3: dwc3@a800000 { }; }; + videocc: clock-controller@abf0000 { + compatible = "qcom,sm8250-videocc"; + reg = <0 0x0abf0000 0 0x10000>; + clocks = <&gcc GCC_VIDEO_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>; + mmcx-supply = <&mmcx_reg>; + clock-names = "iface", "bi_tcxo", "bi_tcxo_ao"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sm8250-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>; From patchwork Mon Feb 22 13:28:17 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: 385779 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp1273003jap; Mon, 22 Feb 2021 05:29:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSNXiHDuiCY/DbokhUhVEwim5EhTt4ZTb1qa1UYp+lxhxHZ6mXS8iccXZHsn9thZEHBCL/ X-Received: by 2002:aa7:df0a:: with SMTP id c10mr22560541edy.12.1614000570014; Mon, 22 Feb 2021 05:29:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614000570; cv=none; d=google.com; s=arc-20160816; b=Zjcj+qCLs5ethJekA9/A9orSiGdPucsWv+EYaUO3vOMHYIun5R/YALmN4vl8IEVCnF Z1w3POwQHuGp66IgLejHzljzhCvLgyngGDZpmfVHPPEX321qZj9c15C2OpI/WJvGy5L9 2suIShpXGuB4pZ9VxcJJkTLZs9/YSUi/vErBYfRoxlHQl3moYo2M4RRPTip0ZK1Q7caI uYa6mVkZE+Is+92jLxa2q469aJz1DDXAk/y72sZprCNMwEKyERJmu6RK5xztN6IJ9rTZ poFwCn4hOFXOJwmCqroOviYJ8Ui5WypBHi2m1U98Quy640VwMU+H/6riIn9mzRv8sXPx tmVQ== 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=kRfV3hfQKkV0JmhY14xIQXKr8DaLA+3gSz4spFlJxTo=; b=0aJUWfYVPi863MiSe4F8aqI1mT0KaZ6tvxc7/Pn+jR4LrOeiFaUZA2vjFAbAFEThtq CEq7dH7DO0HxstxCh6T7gZ+i6cCzm+DmWBfXszAqSWXn6ow31CU6Pva8JAp1ETAtRDbq A9Fe4bgyIsLmanKNVosJVVrE5ysdNIEttCiEKA/Hglp1wU3EAIATAjiXgsSGyCKV+PiA 6538Ts1ybP35hz6a/1vF94cCEdpuXUOR18st40V9VTa6m9dwr2phJgPY9YkGwsbDa9zD 0u53lzTmWlC86/Fw+6eyBUhe1GhWcmVxhWw7rCED+z/Tb0i3wbNzEfWUwjmUh5Br35GG P3gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bdyAHoZF; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 z3si11060543eja.575.2021.02.22.05.29.29; Mon, 22 Feb 2021 05:29:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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=bdyAHoZF; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S231186AbhBVN26 (ORCPT + 16 others); Mon, 22 Feb 2021 08:28:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231849AbhBVN1y (ORCPT ); Mon, 22 Feb 2021 08:27:54 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF92C061797 for ; Mon, 22 Feb 2021 05:26:59 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id l30so3392064wrb.12 for ; Mon, 22 Feb 2021 05:26:58 -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=kRfV3hfQKkV0JmhY14xIQXKr8DaLA+3gSz4spFlJxTo=; b=bdyAHoZFEtYAZMYMT7f7v+2NVLl6gqRn541+ejwo3t/AFjmO2iiyT8s1VAjmvMJguw 72jL77tHS4P5tZ4G6na07GQ8m8SqcU7t/7mi/O19EJzgcLwmONNAOVasx13m7XFTw7YQ MWp+WpxSQbr8PIE0wsF+/jeDSgB4pTPx84DXg3vsFIUzNFQu61z1HT6HG2Y0tM3MqZDx UCIWvtxQuhg4ML/RZPBbaoHON4BVQ+qjLUvOhFc9cNVj7f628P793jbb+KlBtorxT6Ru Q5niSl+T6mYfDYjHtv+2mZKvQ+SCNrGc6gtWk+Yo/EEuOoUCDm2mHyBE2QB4k1uddTBD RPCQ== 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=kRfV3hfQKkV0JmhY14xIQXKr8DaLA+3gSz4spFlJxTo=; b=mIy/gGl3SGWZanGEl1hZh96iZBsbSrI876uTLHq1dsj4ZlqTUmrapcwVjJWcS2bLjZ RnAdxJvkdw7H6zEmX25nXoIowF8+7Y0oxAIknCLCO5628SM3XpKfXAhKjU6conVKUmtb WQSEbcCEB6THcZqc9odQpaLdXAXgC3foDzsw8YIjHuSWXwGBjCtSxjp/osJfl7ozsJnH PE/0prYOiFeIGn+SfHVy+hQTVKS1wB9pra6NDgctrDmXR24EmXhMwrIzOGXiy/HXc+YT WPrBH/vyffxLqMvx0dRMYpuJy0OynIsipihub/DZ/hoZV/cWQ3pu/UTzR7lN9uEG8K8J tzpw== X-Gm-Message-State: AOAM531puP9tLS9d5oNCpoPECQtH8Rl5YPSKlkb9Zx/DAGstRDjEPNr1 ATSxxInEr8sT78pevg50COt0rg== X-Received: by 2002:adf:b611:: with SMTP id f17mr21010880wre.8.1614000417860; Mon, 22 Feb 2021 05:26:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 05:26:57 -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 Subject: [PATCH v2 3/3] arm64: dts: qcom: sm8250: Add venus DT node Date: Mon, 22 Feb 2021 13:28:17 +0000 Message-Id: <20210222132817.1807788-4-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: linux-arm-msm@vger.kernel.org Add DT entries for the sm8250 venus encoder/decoder. Co-developed-by: Jonathan Marek Signed-off-by: Jonathan Marek Co-developed-by: Dikshita Agarwal Signed-off-by: Dikshita Agarwal Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.29.2 Reported-by: kernel test robot Tested-by: Dmitry Baryshkov diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 3639792411ce..6b6993995eca 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -14,6 +14,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -1811,6 +1812,65 @@ usb_2_dwc3: dwc3@a800000 { }; }; + venus: video-codec@aa00000 { + compatible = "qcom,sm8250-venus"; + reg = <0 0x0aa00000 0 0x100000>; + interrupts = ; + power-domains = <&videocc MVS0C_GDSC>, + <&videocc MVS0_GDSC>, + <&rpmhpd SM8250_MX>; + power-domain-names = "venus", "vcodec0", "mx"; + operating-points-v2 = <&venus_opp_table>; + + clocks = <&gcc GCC_VIDEO_AXI0_CLK>, + <&videocc VIDEO_CC_MVS0C_CLK>, + <&videocc VIDEO_CC_MVS0_CLK>; + clock-names = "iface", "core", "vcodec0_core"; + + interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>, + <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "cpu-cfg", "video-mem"; + + iommus = <&apps_smmu 0x2100 0x0400>; + memory-region = <&video_mem>; + + resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>, + <&videocc VIDEO_CC_MVS0C_CLK_ARES>; + reset-names = "bus", "core"; + + video-decoder { + compatible = "venus-decoder"; + }; + + video-encoder { + compatible = "venus-encoder"; + }; + + venus_opp_table: venus-opp-table { + compatible = "operating-points-v2"; + + opp-720000000 { + opp-hz = /bits/ 64 <720000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-1014000000 { + opp-hz = /bits/ 64 <1014000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-1098000000 { + opp-hz = /bits/ 64 <1098000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-1332000000 { + opp-hz = /bits/ 64 <1332000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + }; + videocc: clock-controller@abf0000 { compatible = "qcom,sm8250-videocc"; reg = <0 0x0abf0000 0 0x10000>;