Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6274458pxv; Thu, 29 Jul 2021 10:22:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV+Ol4TFyyf5YW/S5jSk2/ywxqHj/lKQ0OPtDgrosxEev0lTl7abRRN2yVvrWM8SVYplCW X-Received: by 2002:a6b:5d14:: with SMTP id r20mr5174661iob.140.1627579336165; Thu, 29 Jul 2021 10:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627579336; cv=none; d=google.com; s=arc-20160816; b=vmoVM0B4QiX6kqLtsog5qc4rvKxwZ7SvJd+q0CR5F928LtO54nbDLtz8iY8dVdUsf4 6qIfFYMh6XxLz2lKi6WI3lSsF/8v5Dg82y+ngUzNlYoAAQx66J1v7fmyySuDJOPtkCTl NCJQo7o1nvfF9W4TSVaoTHyRSBA8hMyi68OnoL21prL0wVnE7jx0TzQWpLgV7gMnndXK v4icD76U1WB64PvhWfnzU66eEwCnG40djbN8YjSMKMATU9IQ/qGdV/5RZxbxm1JN6taK 4aEZRKzqy9PN6uPURLreNcUUwTdKcO4BaNt2JyGXphW3FshxD6w5ST1G/Z0eESvGlX3O iBFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=JcuPL2E0yGh3YMQ5Ryjgd8htxcjiWk/JLPxwWfyTTEI=; b=tmKC0jhA5ayhq1Nro2+N3Rbl0uExlX5z5FVnfbiZnIrxHbp1f5ufx84/0R+72SlRSV hi8xGT490TPlMNU9osnosWEGD90o76WYUR6HDhb/39awprBUk3R9J5yBrv4dBffkMqCB F8Mzd4hEhBqAkjt1AtDXruQ6illBZC8apFmP9yeWUXKunpDcFLC4Do6dcZgnYhwN8vkK TLxNyUKpvXlHgmpfbrFfxsCFa50hCnQLTvHsJVlGIOHHVEow/tn/B/PL0aQBnJbnQZoa l2EUwvKqNBPQmEm3Rp/bA+4P5ZEnlZDJDdDy2pG/60Erfm20rtOjcN5pVTdchtJAlStm kWtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KLCY003u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si4060989ile.109.2021.07.29.10.22.03; Thu, 29 Jul 2021 10:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@chromium.org header.s=google header.b=KLCY003u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229556AbhG2RTi (ORCPT + 99 others); Thu, 29 Jul 2021 13:19:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbhG2RTh (ORCPT ); Thu, 29 Jul 2021 13:19:37 -0400 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1C8DC0613C1 for ; Thu, 29 Jul 2021 10:19:33 -0700 (PDT) Received: by mail-ot1-x32b.google.com with SMTP id f20-20020a9d6c140000b02904bb9756274cso6591176otq.6 for ; Thu, 29 Jul 2021 10:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=JcuPL2E0yGh3YMQ5Ryjgd8htxcjiWk/JLPxwWfyTTEI=; b=KLCY003udwzbwW5s6LyNduchb1uN48eo8fIMzMQLlYES2R18futSNL9RxxsZHwnYbd /b5ktnC/xdeo/sJ5ZpltOyfNxiFZiBjHJlGRUh7CFaOpRJGZeE42o5mq2Ex2oELSBlCN IGYOONXVZ2/HJiKfQ9cKd2unJKWBj40fZ1+3Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=JcuPL2E0yGh3YMQ5Ryjgd8htxcjiWk/JLPxwWfyTTEI=; b=NIpD3v5c9btZP0RM8sXBdMXrO9A2JyiZUUvftBUm7oZdQn1Tv2kX5EgQ488O4pQlWo s6AEA5YX0LXBPFo5mvGhSFaCGPJd+o+xHBgfGwMG+I2AXLnCppS1MjmEyrHoe3yV4A4Y 8BcO1rs78iyBjaRiO/JxajqniegjKHE92XVaQZWKj46qXAqLVdus99PtiDS7MxYP2J13 kK+Bh43STE8b9WGNc5sfIhkhF0P11jGW8p2S133xFRUsPM1ivjF6GxFa6YcEpvr3/saf VYu4g9dQ5U//hiu3iyNsXRUIt2AXZYpbxhd8IQ6ciwCzIQKyFflYlzC+r5hAcqV8pcaL ejiA== X-Gm-Message-State: AOAM532xOkYbhY8jVINvEqVfrOvKkhLL4/cXIb0FNRYGP3UF/9z4Xdij 4gvuPxRPySaCCwim6n7frCcsl++ukiYjieuzUfN5DQ== X-Received: by 2002:a9d:650e:: with SMTP id i14mr4267279otl.233.1627579173391; Thu, 29 Jul 2021 10:19:33 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 29 Jul 2021 12:19:33 -0500 MIME-Version: 1.0 In-Reply-To: <1627473242-35926-1-git-send-email-akhilpo@codeaurora.org> References: <1627473242-35926-1-git-send-email-akhilpo@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Thu, 29 Jul 2021 12:19:32 -0500 Message-ID: Subject: Re: [PATCH v3 1/2] arm64: dts: qcom: sc7280: Add gpu support To: Akhil P Oommen , Bjorn Andersson , Manaf Meethalavalappu Pallikunhi , OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS , Rob Herring , dri-devel@lists.freedesktop.org, freedreno , linux-arm-msm@vger.kernel.org Cc: Jordan Crouse , Douglas Anderson , Rob Clark , Matthias Kaehlcke , Jonathan Marek , Andy Gross , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Akhil P Oommen (2021-07-28 04:54:01) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 029723a..c88f366 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -592,6 +593,85 @@ > qcom,bcm-voters = <&apps_bcm_voter>; > }; > > + gpu@3d00000 { > + compatible = "qcom,adreno-635.0", "qcom,adreno"; > + #stream-id-cells = <16>; > + reg = <0 0x03d00000 0 0x40000>, > + <0 0x03d9e000 0 0x1000>, > + <0 0x03d61000 0 0x800>; > + reg-names = "kgsl_3d0_reg_memory", > + "cx_mem", > + "cx_dbgc"; > + interrupts = ; > + iommus = <&adreno_smmu 0 0x401>; > + operating-points-v2 = <&gpu_opp_table>; > + qcom,gmu = <&gmu>; > + interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>; > + interconnect-names = "gfx-mem"; > + > + gpu_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-550000000 { > + opp-hz = /bits/ 64 <550000000>; > + opp-level = ; > + opp-peak-kBps = <6832000>; > + }; > + > + opp-450000000 { Why is 450000000 after 550000000? Is it on purpose? If not intended please sort by frequency. > + opp-hz = /bits/ 64 <450000000>; > + opp-level = ; > + opp-peak-kBps = <4068000>; > + }; > + > + opp-315000000 { > + opp-hz = /bits/ 64 <315000000>; > + opp-level = ; > + opp-peak-kBps = <1804000>; > + }; > + }; > + }; > +