Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp586554lqh; Fri, 31 May 2024 10:01:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+SaJAM+yy9VYIwX01wVpzxYI4azqtPUM1ogcZ72Yc49DVvrcyYzcpl4tV4moEWoWrHNrBydVIx1qYicyRjwz6PjjKwUseqG2BXs3Q6g== X-Google-Smtp-Source: AGHT+IF5/+IfoXtkXVN5uCUN2PLyI+aww5Mcmi/mwBQudhGwQNxSr//rdvFPK+7TxlBO/NefPFZo X-Received: by 2002:a05:6870:5b9b:b0:24f:cacd:f2d3 with SMTP id 586e51a60fabf-2508ba2589cmr2340796fac.33.1717174871007; Fri, 31 May 2024 10:01:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717174870; cv=pass; d=google.com; s=arc-20160816; b=pXmzqSyu7nID+8Lrw4sUAUfgrc0KeX9lQrHPNWCwEUDwJy8minW5z6c+VOS8CCcNE/ 2xnxtfgklNTfSCHqYIBaT1Z/q9Jv93ee3OJSebYI4YmTD7YM5c+ChOgtBRqYNoJj4TWv /QCWN2LeKU1Mwxe5SOaAtbkkR3pg+v2ZU5q4TVx92qMfaJVOViQqLc9DRQWutEIQ4YSA HzrYESNo57N2mP7Caw07XAycdyOl3Ew2PSSpGGf/Z8j2weIqVlaS0PqfgBJirlSlnxRW JY8A14izofYRu8K7cn3wmrV0v5tbeEtT8RdV5L3bbQTdu0FwKuq0HVNupP2tp5gi6g37 YmTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=GbPz5ot7V2ABpINiTsk71F3CxfthRVL4eELJXgSURnc=; fh=rL3Z21veHMjHmFe369trAp9w0NU/2aMQWjdw4lz6RrY=; b=LkPoUsMTF23lPIhQP41MlNFfP7Mi0GlTpWbixEuHzkybcfV7dvFoBb18gDBwMjGjQg 09jJeCb5k+ZXAD6k9w63fLxp3MmGEA1+sfuuLEcJ2IhsHQ7hMvfmHxMPz9qbA+9QTpKL SfGM6YbQTSLjpVaojiYYL8BJ6IkYND8Qj9T9eT9VcNxgnrkztLEtnRJ70jLn1vASrj+s GuhNlcGIu5nMabMaAAyaCXgTgKVZ9ZmoffwMko3VBpmsy76R5v8OlL2vgBnn4o1Km6QD UgnCCim8LS0CHE+la2vSxp2/DpqAjOQilOOfUN46ON0FvQ1IHm7U4CZmYKqm3548bKaC R6Ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ea9TB5KD; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-197209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a1e0cc1a2514c-80aded67ac8si393157241.66.2024.05.31.10.01.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 10:01:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ea9TB5KD; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-197209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5FBA11C250E7 for ; Fri, 31 May 2024 17:01:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74701172777; Fri, 31 May 2024 17:00:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ea9TB5KD" Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08EAE15B978 for ; Fri, 31 May 2024 17:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717174845; cv=none; b=uwFncjnaYYs3G7Sp2loQNX9/LBTS71A5qCX8e0exIIIgHptr9J2omiHXB1v1dlRu9dvrYuy5sQOlL4IdxKrp725T4zY2GKyzKX0UBly3zmMSFiMAiqn14BzbiSvZUm/ASRpAECJKwBfvEao5mm/MMO6CwaAAPNErVhO7G+LVfeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717174845; c=relaxed/simple; bh=5jcWigQIeXCdf4Gov9gW8hB/yw2QeIeOgRPM6wsehtQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NX+6BAj1VUAV6Zd8QzLwRkgNod+V69Cuo1fdpaJBujn+s76Lba9ennb96Euh+nbncq722axN0GxfcLg7EtPBKQC+bjrTkJTxBMQTZpexvWdbAfi6zLVf6ef8gmJnx/wXLInuIyryslD9TytTkkhxF+Ouy9a5g3BmWA6lX/zRJcM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Ea9TB5KD; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52b0d25b54eso3437718e87.3 for ; Fri, 31 May 2024 10:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717174841; x=1717779641; 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=GbPz5ot7V2ABpINiTsk71F3CxfthRVL4eELJXgSURnc=; b=Ea9TB5KD+g7w+TH6hvqqx1u9FFdORQE8NfodOwyh1XemhYPtvsb7sGIYY+BRr64ld8 uiJRP0ce3sNJnziASnAF5tHfWSlrfmPPpLajobHMIjdvHw2q6RC+A25ZXN3EbIBWSw6C kvojLqQpN/wahHDWtBzK0TJYAa1FYH6pcRDtYuv1z4bu4Hm8n3/pou0GW2olwAztfSM2 At2c4keHKRknr+157G82aXTTGMAtu81LQ6as4hJSs2WkeHGRgftYeG+EBuvX6S0z7XmK 1P27WaPfloGarcSWu1JJiWzgULDk5sfJsf6r5WBF+ldy2zAW+KDXx6d80lAKcKi1l+To 5wYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717174841; x=1717779641; 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=GbPz5ot7V2ABpINiTsk71F3CxfthRVL4eELJXgSURnc=; b=jV1gF3oxEDiQi46FN3pz5egOF+j916qAmGgmLbd34F5EG246cNCzaTLfYg30+Nu+v1 +BN+kGOmeJi0LCH1i92KD/niwgo4aNSc14rdMLQ6YblL6np+vG+FCl+IkDvRNAzPZZ7I gn4RRRtfPnjYLoAevg7jQLYZ7WZ+ArjFHF+goZiqFNZFEhCQ0lmTyJB2l5dV+uKufy5o 1EKKVxOOzh9A4wj8GLh2jo6K/tF1Dsm3xFM5ZsWae5iTy3B4JzFCJTwf0XkFDI8L48tP E7KDQehEkeU2/rdb/YuYj5SVxY+D8zF+YPubdFzmwj3w4QRclCiOnyU6DvPKLDKyXtMD BmFg== X-Forwarded-Encrypted: i=1; AJvYcCXHNgFnArbDuqZMIR2ITbg56UICCI5SpukYeAUAWovDDmYEdUlVscvtp/X2ooShO9/6c1MyysC+Y84dZrlPmRxHydcI0m9EM9aQGRbP X-Gm-Message-State: AOJu0Yzlkcs+SFoO9BcM4MCb7FTkQwCB4DYGkqKDSkDMi34zrgXSLPa5 8RVZzMGQJlwL/MdhKUaa68Msh4EEIE3jHsz9fEA4NX3sQBPe8hCuuu9DsZuo6ao= X-Received: by 2002:ac2:43cf:0:b0:51a:c3b8:b9cf with SMTP id 2adb3069b0e04-52b896b86bfmr1916860e87.69.1717174841165; Fri, 31 May 2024 10:00:41 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a67e73f9a22sm105533166b.60.2024.05.31.10.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 10:00:40 -0700 (PDT) From: Abel Vesa Date: Fri, 31 May 2024 20:00:31 +0300 Subject: [PATCH 1/2] arm64: dts: qcom: x1e80100: Fix PCIe 6a reg offsets and add MHI Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240531-x1e80100-dts-fixes-pcie6a-v1-1-1573ebcae1e8@linaro.org> References: <20240531-x1e80100-dts-fixes-pcie6a-v1-0-1573ebcae1e8@linaro.org> In-Reply-To: <20240531-x1e80100-dts-fixes-pcie6a-v1-0-1573ebcae1e8@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rajendra Nayak , Sibi Sankar Cc: Johan Hovold , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1335; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=5jcWigQIeXCdf4Gov9gW8hB/yw2QeIeOgRPM6wsehtQ=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmWgI0OZvnhzv8jJBrne721q2q+1gqSu6+ylkFB udHFy+JlLWJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZloCNAAKCRAbX0TJAJUV VtO7D/9Y6mlTgcMvIDRrrO4vcsqGtYzCHmA7EYdWVFtriqKJp7eW4fI9jVkHRQuyJlqJkdRzM6q pcoOeqvGH7G5SBxobQTIX/9ZO447qNgE9jSN4teUHndp6w2XTHNoXTbp41WuKA3Wtwkk25PLoEJ 5tGWso7MX6Ahxz1CvC6g+kOdZ3m24Nzngjot3rQmrmlarata5rgD3L1WGAm+mE5bkrAu5nJT4Uz V8pDGhBpJReeq5/0DUWkUUyyxDMhIYVqY0G+Vxun2pQnB/v62NKIpIkcl+/CioxXVSTk4jRdTkK 3fCqOb9OKG6xK3RU4hyAKMlMF1GnPMVWFLN/kHc9ApSi7XvfxjPHFWUugAhkzgWZAjBtBA2AelU LThVZVAE7fT45glPqZgp5XzURDe/nlVmEy2PVExKsbBoi0zrCCiSDWMJBddAQgomh9rO3qhFryd N2vgd9z9yn7BemZSQGaJGaCPO9FwdOrrtPgs7Btz09BBI2kxPb2CO9Wr/U9GHOT2U85kxguU1ZE Q1x1LIu/77WJLfiXGVwy7p9UW8bcl1BnRm72u9XDP14VKBbNMks9cYdU067L5mqeYYzwb/lphNy SA6ge6VW+cIF6HR9DcPga+Y1UqjcpVejWPt/FPbaJTM9ZIgrRZlod5XjJOkMe0khrriIe0/PVmP pO5rEoh65Cv0c1Q== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The actual size of the DBI region is 0xf20 and the start of the ELBI region is 0xf40, according to the documentation. So fix them. While at it, add the MHI region as well. Fixes: 5eb83fc10289 ("arm64: dts: qcom: x1e80100: Add PCIe nodes") Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index cf8d8d5b1870..fe7ca2a73f9d 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -2818,15 +2818,17 @@ pcie6a: pci@1bf8000 { device_type = "pci"; compatible = "qcom,pcie-x1e80100"; reg = <0 0x01bf8000 0 0x3000>, - <0 0x70000000 0 0xf1d>, - <0 0x70000f20 0 0xa8>, + <0 0x70000000 0 0xf20>, + <0 0x70000f40 0 0xa8>, <0 0x70001000 0 0x1000>, - <0 0x70100000 0 0x100000>; + <0 0x70100000 0 0x100000>, + <0 0x01bfb000 0 0x1000>; reg-names = "parf", "dbi", "elbi", "atu", - "config"; + "config", + "mhi"; #address-cells = <3>; #size-cells = <2>; ranges = <0x01000000 0 0x00000000 0 0x70200000 0 0x100000>, -- 2.34.1