From patchwork Mon Nov 27 15:28:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 170241 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3223570vqx; Mon, 27 Nov 2023 07:39:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvPfnZ/WZXD/7il7RakkwoHAUMTp4iXTL9hTg75vbC2DX494/CT3W/Zya2e5OkndruQ+Yh X-Received: by 2002:a17:902:a410:b0:1cf:ae5c:a4e6 with SMTP id p16-20020a170902a41000b001cfae5ca4e6mr10233950plq.16.1701099541016; Mon, 27 Nov 2023 07:39:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701099540; cv=none; d=google.com; s=arc-20160816; b=PyC9a9BGq8sBK1iUpYUKdELv3EA4EYEZIeATvJS35+xJtZNnASj6DFJZrp/LsPx6WQ ykBsYGW8e1xLHsICAsStjoTK8nOKWKOd0IOmEi9N4ThY/0hlku+1vZ8QheC8OUl8pvd/ EFsPc4t7omNgEL0hwVS4tDj3SRmzuMwy4i2OxMnDc1JrH66jxHdY38/VkBL0Czytj3+Q pXqOkqyByvYa4Tm6PtzPh7MfVA8lkMXxZJag4udqikEMANtbSSRr3YpOBTEDrBSnCF9C yYx7DFF6sEU6mLhYNOW5KQYpLesqHukJHxn3rRhVevMie6hHlGZOla9q6hnwtUS0UOWT CFfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=3WME6ubitd3vxaAOMdHVezdwhed8qbighnDEBO169Ec=; fh=9kk1b97t5E1IrS441vwb7g0C8HqHeoqsAYjLwfbyq0A=; b=DJy10RfYqui6hEJoUJ3dJUJbDSnuhcYJmNQ/54p1nRgGAERq5KcVftXLWEQg0v019o jx1DE9S65MRPaldGo0AfPA755ioPsym4NyU8xgpAJtQY3wrh5A6H1+MidYcvZhHVL8Sf 6EGLUQ4R5Hqr+Et0FD8qqsLqXxfA3K5qCz+D7lIMIOrCuF3siIp/5kL9bxD+gIZc9RD/ BU3TiGLQTPnu27y58chZXOxh4Xk/XU13aheLLAXja000KJzM1TAe/PUK5TpdI/kyHVI4 UBu7OOdBuHkjDEObHTLDxqgtigSzKQbsQxR/E9K87T7OpyrDMHv+yGkXzTqo9AKBQOFV mjvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UKonYcAR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id g7-20020a1709026b4700b001c9abb72958si9503235plt.590.2023.11.27.07.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:39:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UKonYcAR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E54378227780; Mon, 27 Nov 2023 07:38:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233810AbjK0Pip (ORCPT + 99 others); Mon, 27 Nov 2023 10:38:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234007AbjK0P3U (ORCPT ); Mon, 27 Nov 2023 10:29:20 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4942DD60 for ; Mon, 27 Nov 2023 07:29:13 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50a6ff9881fso6641471e87.1 for ; Mon, 27 Nov 2023 07:29:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701098951; x=1701703751; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3WME6ubitd3vxaAOMdHVezdwhed8qbighnDEBO169Ec=; b=UKonYcARxR2F+oVvEtIZffRRe3YUImWLduFZvNkzJxKbi4hJfZa9bu411c5qWtcmko 22xkUEofvENTiEvu7JUT0ZcgBGZ6wDCWgAhw+N9VDkHUyWR+rAuK0rlNiYTF+RHLY5Z+ D2LKUNClcPN30hH82qlHHr0EmGXhFl6sViSnQtt6JfvN95A268ur8+AysSUfa7uVsC1I HHH7e0h4OMAd+VzCIqh/1F5lmA6xXs+TlQB0GeDMGtjDyyk9CfvHIiBvooUBnd1OqHQj fbGrtTRQFsfp8PTt0LpS/dgrhrNQ59PY8mRyTY+r/XmlZru6e/nBDe4Wu4MkmnthA8Ed r+VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701098951; x=1701703751; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3WME6ubitd3vxaAOMdHVezdwhed8qbighnDEBO169Ec=; b=wXKgi3zuCV96CFNY8nNx8+SwINr3C/YACATMSVbqF8AAHQSJEEMhwjOVGqAU/TePDz 9xNuFRJc/QbXgcHztOLSLE+jr2qQFtoh/ovOuDNvrIoIBUNz7H9iWRNQcg8vXCknaiNP hKHRUTA6/sFXAgpKr86B7wCBHEmrCiEeXZl3qOVhbn8hzo3ckZ3JkxOD8kAT04wgVvKz XY1XElcNrMnB9WiCyOQWz+l0zYZ8r85keyYAOeeqCqqSZwCypOF2I10boUdunnLbiaev XDDEAllC6PuUuP1EVkMfYJnqEYr9RCm6L3DUVvC2cOl9mhtoE0ml+ZndXJ2zqH+4JEM6 8WpQ== X-Gm-Message-State: AOJu0YwZ+KiSG9PL7lR3QfYvTPsBcOTFndSsRlhEkbToACarVzMXfmF4 fE2gaMgPGouZbf5/hnu5DxtHDw== X-Received: by 2002:a19:ac48:0:b0:50a:6fc5:e95c with SMTP id r8-20020a19ac48000000b0050a6fc5e95cmr7956561lfc.60.1701098951013; Mon, 27 Nov 2023 07:29:11 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id e7-20020a056402104700b00542db304680sm5321002edu.63.2023.11.27.07.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:29:10 -0800 (PST) From: Konrad Dybcio Date: Mon, 27 Nov 2023 16:28:46 +0100 Subject: [PATCH v2 06/12] arm64: dts: qcom: sc7180: Add the missing MDSS icc path MIME-Version: 1.0 Message-Id: <20231125-topic-rb1_feat-v2-6-979b28f35e4a@linaro.org> References: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Krishna Manikandan , Robert Marko , Das Srinagesh , cros-qcom-dts-watchers@chromium.org Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701098925; l=1145; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=QxbVxThi6gj4JqQP8V9LpJsjR/myuVOnIJbwHX7amYU=; b=fS2uPRd3j9acJg11U61tq9XVN8ayomlEw9d5ATm43L3nTtaAyensMfnnnvE/jpMI6SBpUTurk TEzmocPClnSCqU9FEoaODlLAlpLeRUPaiJm5qFPFJKjE9fYnQKYi6tN X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:38:56 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783732152687348119 X-GMAIL-MSGID: 1783732152687348119 MDSS, aside from the MDP-MEM path, also requires the CPU-DISP_CFG one. Failing to provide it may result in register accesses failing and that's never good. Add the missing path. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 11f353d416b4..9664e42faeb1 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3100,8 +3100,12 @@ mdss: display-subsystem@ae00000 { interrupt-controller; #interrupt-cells = <1>; - interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>; - interconnect-names = "mdp0-mem"; + interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "mdp0-mem", + "cpu-cfg"; iommus = <&apps_smmu 0x800 0x2>;