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 = ; 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: 385778 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp1273006jap; Mon, 22 Feb 2021 05:29:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1KUmrseIaYSk7Y7flSejMbHvL2VJn6NcQcYpiy6c9pr6LfepajEEYIpnPLc1xbze4uJFl X-Received: by 2002:a05:6402:c9a:: with SMTP id cm26mr8640020edb.133.1614000570377; 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=uULVyeTbjzJd6qjROh1wKuU89flLMBjY59xJNzcBpW3tOU4uu4YrkSsuRDkZxl8+uO spscwVNSIUJHJ8l5BjE5/wC+6Meb3Ov/6FqHlzSSGIHFc3TzIwZJtGswoL4PfCdwZMSC LayJWW8BbbMjgXXlI2sTjqnNevHjOkCqlpUADc//UE4KDzHgbqskl0lbnoQ31GxrAmU2 +YHVglLr2sPmVLGMd1kwiLQy0P8M6XNQA9ohp+ZON3P4Gh3tgGsxpuxmXx89pegMfVDw CKAs2fZ2pzCZsLgbmtO3hIMLtqwh4VB+R5mzDvPe211aBoWchp52UFPiPL+D8NwtPUVz Ksxw== 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=qht2WelTwqkDaQzSNfoAbkrAvuNtWrmENyh0P2R4V7c=; b=RQfAaKxK1bsG0pbKDdmAeNtTO5JSJIj7u3xfwVBleugZilcY1I5hWvWHG0MuSRCRn7 5IIf5+l/A/EveiMtelKHVX0uRBgXvRhPDVXHjWJ2TyUx50NYpbcQdTWaB3kHvq+nNETr s8yrYI62M+yNnjsDjO0qUoanEHVwPnsJbcvKkfJK+511gCAGHUVTAVbYyuPm/gy0+rGF zKukYxn0QhfxJwChZGbJDXwgvyNpgxzwFM+GnFNBcln4K3grQBV8dAzFC310gZfKiCS1 +DeTk72LrxcF+3zXJ3aWfe1azigPD36cPeMVDx0ESFFriqG3RdC3NtRW6uhp7IS4zlbR gDlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wCcNugEa; 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 z3si11060543eja.575.2021.02.22.05.29.30; Mon, 22 Feb 2021 05:29:30 -0800 (PST) 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=wCcNugEa; 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 S231786AbhBVN3K (ORCPT + 6 others); Mon, 22 Feb 2021 08:29:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231846AbhBVN1y (ORCPT ); Mon, 22 Feb 2021 08:27:54 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C38C061794 for ; Mon, 22 Feb 2021 05:26:57 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id v1so19064543wrd.6 for ; Mon, 22 Feb 2021 05:26:57 -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=RNmVhVU0NyqTw1T10ViwuarbVLhxmbZ5REMUkie+3LVp+ZFtF/nXh9BS9oSHuK21as 40mPMSiinYkpB0l/ktzpENUIhGAryNdA97mRkqu+lrtQN/Q1d7PrrNQLgPMjGSjr67bX H6mromt+r51hJmfV25bADu27dCn0ZikBeNSplLgnmbpCfwoHD+NXjNP0hA20B3W4oAXA Oz0L1AbQsGO3IhziaTWKoiAneXXA5TCrmyzL1UN8FgzKjRWZSh2WFvd5aP2REcBWYL/G P2TmCHuH52qoNyK8ZsKosoeDdI8NpMHRYjuHE5S12jDjAWhYfD+QUFjX4saJUDS0paio 0Log== X-Gm-Message-State: AOAM530nSZQZjkOlNX0rj1qMqFNEJb06VPVw5nPPLUFPs/kn2BkxReBI vVosP0bbPstKpSAqF488nud2nA== 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: devicetree@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(+) -- 2.29.2 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: 385902 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 A2BCBC433E0 for ; Mon, 22 Feb 2021 13:29:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A99F64E5C for ; Mon, 22 Feb 2021 13:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbhBVN3d (ORCPT ); Mon, 22 Feb 2021 08:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231971AbhBVN2B (ORCPT ); Mon, 22 Feb 2021 08:28:01 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DBF3C0617A7 for ; Mon, 22 Feb 2021 05:26:59 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id n8so19030820wrm.10 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=sX8xO92GfMabnmtdi/Qvy16IT7/MxGbElpL+6Ua0gPxund8bDIldw+Ao7Ehn1B3ULt h/P6YTMF6FMGHajrKjEanqpz4HaoxA/tjzOYsoFJwnrhZq27dnQib+GYrT6vlAsX61Os 5DvPeR9aZYN8r8HztZFEbp1dpUO2ottkX5g7zOdZz81mrOhA0VyZISWbwDAkaOW4R/9t zq5xE2D7546csITjCv3sx59aQrFxNrRfFnwRdGMfGxM6Ak5dXpQDskQ/6TI+H8O6TYC4 1IpEui0hqUaFAQXRyVbEXALF1HpMYqZ9E/mNyopz8lK3iY73FaziWGktGrFkAnBVpCEa 7nwA== X-Gm-Message-State: AOAM531XRI90I8crJ5y7TPXN4/xqb32PTDz6n8qW0rvUvLqdkfGZQUfW XZ35H8hmho/IRjDv/DW6J1XKXw== X-Google-Smtp-Source: ABdhPJwbbLUhq3173hcjozPlKXo6kXjJD8FrRIuuP0n9/6v8Yt9ubx+xgkwWJFqMGkxCWdoeF+TXTg== 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: devicetree@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 Reported-by: kernel test robot --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) 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>;