Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp181963ybm; Thu, 28 May 2020 19:58:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvLvlzB/Vr5wohIYAcRmI56Mn9sLrW56lVUEfdWA18BKIgL8nU7iz0tm5IdkgeiGVBYgF6 X-Received: by 2002:a17:906:c187:: with SMTP id g7mr2753925ejz.446.1590721080111; Thu, 28 May 2020 19:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590721080; cv=none; d=google.com; s=arc-20160816; b=aDzGcVYKw044dz5ax1t/LdAnxn78gRc8+IBUl9fC24oDYyN8+SEM5HDGUIzE2lF4BY sYz/A8utNuGq2COaWmsp6dPnRe4+PfTvHuyKqRpPWRVtTPokZfq0jdx9aBWFru9/C2fd CU5OUAqOEn4eQfh/cOCz/zv9CwGOV8KZVZzKfqTe6Q5cPMFv6QP3opdnvNGMeb7nD0UX KVya/Xzg2bsHL7Jmugpjrdj7EtvScAKyhmmNjYsjtIHszshliCRaTu4YAkl6SOGIMPhM RkjcwydwYUKnHnmFeEGH5Kosh13mGodA3q83qHr2biYgp6Y9KjThjFjkwmgmRTU2Gxt+ t2gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ptTk7VYMJ37k+oVBnuoFjWPyw4wZdkXIafSlijslCoc=; b=ZdydzLBdWdEMRfJsvkG3nWigObanjwak1aEEMB1KX2HuOqQVhbajsV0cyQ7dJ9rrln xjTq97NApSjJNMw0+noNVSEcli2hnjusl3/Ur3ilGrHnO8poc11j5cTReRVngcTT8qWq xfsHv+NcGreieZeoWySLrvJrIyESUt2UMCs8irEUTywZvLeEgWl5CLYt+tcrxr2+IRff blO6CslkRY/SEU5fZ8ZP1veaiMOhcS9x/6Xn4DuBBAkj/vD8byfyjX+RsHkeCN25S7sL 2unMmu9ii3MwO40hL9KAWSeayhTsiZIKbbBkd9BWbzcAATAhGgxDceByTK2DbdxdtSCF v7mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uc1b1UdH; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t28si695796edc.136.2020.05.28.19.57.37; Thu, 28 May 2020 19:58:00 -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=@linaro.org header.s=google header.b=uc1b1UdH; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406962AbgE2Cxy (ORCPT + 99 others); Thu, 28 May 2020 22:53:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406871AbgE2Cxx (ORCPT ); Thu, 28 May 2020 22:53:53 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49AF5C08C5C6 for ; Thu, 28 May 2020 19:53:52 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id cx22so511692pjb.1 for ; Thu, 28 May 2020 19:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ptTk7VYMJ37k+oVBnuoFjWPyw4wZdkXIafSlijslCoc=; b=uc1b1UdHoUQVnrBhVgwq9JzY5sdIw6+Vrpn2b8RdQQukCX7gDpPjEDCEs78kDLZVVM teihhf5LdrMMsu9PJ0NcloWt1SQab3m6x85j9vwcKu1fXZl3/HjEbAGPkrLacanS0yJU qI9SgzFmrzls4WPUfOGzFg+1dcR7h4QQjwJZUX89t4t7xtQfsowP0fWWfEDHG/h++DMj ELwevzVBJzCARXZuJZCT58GCWhsw9tYCB8BuknajlIQQDo5N6svDXIqwSGGGa2iCjuL3 JWl1RKIFnpi6zZ0XBb/M1JtxfQB1Q9zcIHF+4RbF1XBuzmYZfwLifYDOK38s7PqGwkP0 fTNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ptTk7VYMJ37k+oVBnuoFjWPyw4wZdkXIafSlijslCoc=; b=t4jns4n0FBFP5QcLfnMpluwLGTkEpFLRquF+XEI9tdSLuZH4Uu+0RzEjwW8UvwHZ78 B6NNB0mUi8UjK5R0J5P7NhUEH7tqffwUPZwub9lPSIPX+gdK0IoIko5E6DZ4I0ftxW3R /sMk26H9Y0SR2v39/xoWQeYVD4sYU9EsfAWFCjVQLM5Sf1Jf+qJOelA5tK0F6lnNn+bE Lb7Me6X7KYHIwskC+yCKMzuptVfPxrTYuMoGJBVlUp8lBJkC6zAG6d8YOtRcdatM41F5 VC+3G1KjDXFu7DFdF75eX5RlV8FdIqtyNS9ITO+q3FgBDdhoZ0buLoBNUYZAaQ+cbASS LOvQ== X-Gm-Message-State: AOAM533IS1xyRjI92DjQG8+l+rc6a2k6kNfAXT/i8FkLFPOE4uEozm4l aevQcVMyY9qKhBpD+NMMd+TVCA== X-Received: by 2002:a17:902:ee12:: with SMTP id z18mr5869046plb.211.1590720831752; Thu, 28 May 2020 19:53:51 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id t2sm5551524pgh.89.2020.05.28.19.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 19:53:51 -0700 (PDT) Date: Thu, 28 May 2020 19:52:46 -0700 From: Bjorn Andersson To: Jonathan Marek Cc: linux-arm-msm@vger.kernel.org, Andy Gross , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH 1/6] arm64: dts: qcom: sm8150: add apps_smmu node Message-ID: <20200529025246.GV279327@builder.lan> References: <20200524023815.21789-1-jonathan@marek.ca> <20200524023815.21789-2-jonathan@marek.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200524023815.21789-2-jonathan@marek.ca> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 23 May 19:38 PDT 2020, Jonathan Marek wrote: > Add the apps_smmu node for sm8150. Note that adding the iommus field for > UFS is required because initializing the iommu removes the bypass mapping > that created by the bootloader. > Unrelated to the patch itself; how do you disable the splash screen on 8150? "fastboot oem select-display-panel none" doesn't seem to work for me on the MTP - and hence this would prevent my device from booting. Thanks, Bjorn > Signed-off-by: Jonathan Marek > --- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 91 ++++++++++++++++++++++++++++ > 1 file changed, 91 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi > index a36512d1f6a1..acb839427b12 100644 > --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi > @@ -442,6 +442,8 @@ ufs_mem_hc: ufshc@1d84000 { > resets = <&gcc GCC_UFS_PHY_BCR>; > reset-names = "rst"; > > + iommus = <&apps_smmu 0x300 0>; > + > clock-names = > "core_clk", > "bus_aggr_clk", > @@ -706,6 +708,7 @@ usb_1_dwc3: dwc3@a600000 { > compatible = "snps,dwc3"; > reg = <0 0x0a600000 0 0xcd00>; > interrupts = ; > + iommus = <&apps_smmu 0x140 0>; > snps,dis_u2_susphy_quirk; > snps,dis_enblslpm_quirk; > phys = <&usb_1_hsphy>, <&usb_1_ssphy>; > @@ -742,6 +745,94 @@ spmi_bus: spmi@c440000 { > cell-index = <0>; > }; > > + apps_smmu: iommu@15000000 { > + compatible = "qcom,sdm845-smmu-500", "arm,mmu-500"; > + reg = <0 0x15000000 0 0x100000>; > + #iommu-cells = <2>; > + #global-interrupts = <1>; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > remoteproc_adsp: remoteproc@17300000 { > compatible = "qcom,sm8150-adsp-pas"; > reg = <0x0 0x17300000 0x0 0x4040>; > -- > 2.26.1 >