Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2512901rdb; Mon, 5 Feb 2024 08:46:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6dDUmmheaZyvWbzYyAakHwb7jFJVyj0wCzC1WTpKIULYF1a0qlZslfaRyek4fDYIy0/bm X-Received: by 2002:a17:902:ee81:b0:1d7:7347:d80e with SMTP id a1-20020a170902ee8100b001d77347d80emr48949pld.37.1707151581535; Mon, 05 Feb 2024 08:46:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707151581; cv=pass; d=google.com; s=arc-20160816; b=i4LCyfIbeJPfaLFUyrdXBHHmBQ1MDVXf/EHfkegtjieWA2IFgYkJYK70Om7mXw3JC+ g22hWTlh4isK3boDQMfGdv5BFWRPllnJQ1Q5IgOKaRw9vZEEMcgCexx36hv+FdcXeBgP sVZIQPNl8JO9TBbpez29EOAF9L4tg7Sb/ebT3Lh/j7Wgp4zhfchTx4vTIcX5mYzlhi0Y pAGUzt8v7Alu7JVNo1eOPwrxDroTy+F9JMtd9PsDFgP+aSOTeREG72ZZB8+QNqZeKYU5 E/N/sQamlHzNABVu3y80fHnoCxRBgayGVmCoa9gb9fLUfSpxfEfA1BECss5OH7eZQiFl KCig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=2mmVlSbLzbn2cV2V2PAlQSgzcyVZHi2ZF25snwbWCZc=; fh=dZXFXNJv7AoVyHMzX1T3b4ouNjtwy8Sz/lxexcPkFlc=; b=qKFd0MTSY0WSuhsCgQKPPPOr4SlPvDyLfnst8tkxGw0sB5l46dsQmi2yZTzm3c0afK fsEEF4b7ocLtK1TRLfvb9azvY994Woyhp+4tt4voywLZFaGt2RWAjz/DHDwpPLXSOcHJ QNCYwCqbJyI7aqnxPLh5JLWNA//DzWubRDxpg8SlGzqc9u7wYCM73+EXMarl8eEbMZOs ydXhUik4xz5VGX2q3F0vsbfVKU2yuy3Hr9Tk+zwguN4ZIuF5W0MlFlk+s/To8msQSYQ5 o9nawv++dnVJG0IoWV4znLqrZb7tq7FyHSQzPs7o97hvzHF9EkVA/B8MHA+BZxbdKbKd 4gPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nhDNuqvZ; 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-53010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53010-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVVmPjP50UiMRUCz3g4xlqMfCol+7SE66BGns4HNeKYFuY3vl91BRbMdS9Vv40iw/z9Cl5cR0bUzXB+gO80OLjJoOtWo3QeUQCXV7v8Ew== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g3-20020a170902740300b001d9b86c42a2si86488pll.433.2024.02.05.08.46.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 08:46:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nhDNuqvZ; 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-53010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53010-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 30D2BB235EC for ; Mon, 5 Feb 2024 16:31:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21F7626AF1; Mon, 5 Feb 2024 16:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nhDNuqvZ" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 5D4D43FE46 for ; Mon, 5 Feb 2024 16:31:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707150690; cv=none; b=cLSYOWk2aK6tZlvP0a+Ospx2+ha3EXY3KGdNblZR+XEXAPiCtzy8Wv4V4L6ysCNSAkjRFZg7cIiLWBhrF2lLfsAMlQALYMx6NaxIb9mIy692fsRqoPBSctuktPAUIU8njCfu5/6W50yJhBvdedw9McfvTOfCRby4Kt0L/vKJERI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707150690; c=relaxed/simple; bh=ZZsbEv/1D0ZyP4euZdUeoiAk7r963SzotEo4LThOh+U=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=IRvWM3Aq7plyt4Tc5U0+kGrRLJOJlOt2m3tvtkYmTbkGmxWb9D4sJZd7ro4yDPFvqJDDB9SZ0Uf7YFtYT9iHxP49DMLm6xXSXwp5z1xSt1snoU4UXcfuDe9bIGG9g42PtLgcmtHhcEwGX3jv8WoC4sTD6/dyUbD9aAfiK5r+GY8= 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=nhDNuqvZ; arc=none smtp.client-ip=209.85.128.43 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-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40fc654a718so28122145e9.2 for ; Mon, 05 Feb 2024 08:31:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707150686; x=1707755486; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2mmVlSbLzbn2cV2V2PAlQSgzcyVZHi2ZF25snwbWCZc=; b=nhDNuqvZeWQZb2PNWgNNLxiIkUeJih5i+jwaJ+ttKlrx/IvYkZysrI6PxC4PByj9ga LO1L9LgUGOZuPOXUBhw+D66P+TBcdXn3egY66xYyfPey+bf9T52w4LX9SxRKWm96ecoV KyGCpg9+ft8LjX4upqJI/uSZRgEBBkv6k32oGSCa52D0lRZK+7KZ7KDwkRYx4BZ4Tv0l Nf8C0/UVB2H6OQDPbMIxCLBvytLu/VHAD2HQeIamnT1Vj5zWHYQapWwdClA/z3nlO3n3 3qmBXAnM5LfM47lp0/0Bi0rVUtFOndHw1a2sxxsoQG8VIBbhNeYeQ3G54gngmj5+xnFm 83Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707150686; x=1707755486; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2mmVlSbLzbn2cV2V2PAlQSgzcyVZHi2ZF25snwbWCZc=; b=UE+nly1zI7sOpfjMz4h3suAZMcdlORU8Ew4O0HwTbUokhuuFcnuwPhRaucMyOgkTGF 3BSiW1/SkMd0CYJcRTUdwaJv6siDWrwW34DVfhTuqIyxpWTO0JBvlcKiVpJ7GiJmg9pW cee6k+0S/ov/2DDbhz8ldTTxZLD60gT82v/cR5QbogYkx84/zgu38b2skbHOlgK73pQX DHzFDRcoJGtteVmLy1ptWDp0hH30UioPq7sIWWsATz9n2sxkuGjFehHI64JqSSzekGIk 6woduQnH7qibNx4c5BbdC75jnnMhuIYumN9fFBgiPVqH++fIEBwh+kp2MkP4NOutDQN6 GK6g== X-Gm-Message-State: AOJu0Yxf1pkKPQ+5nPlQndNuXBuPCgWj7NirUGUwiLqZlsvaXdpe/2fl iceKsG0wAZsv6yyc2+lzBRJKk5m/lt0w6G+H+/MFwExJqRpQjb4Plm2zTsa5ie4= X-Received: by 2002:a05:600c:474a:b0:40f:b8e7:ad51 with SMTP id w10-20020a05600c474a00b0040fb8e7ad51mr243391wmo.31.1707150686641; Mon, 05 Feb 2024 08:31:26 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVU1Nn87lYzSBZIPKkkwJKjWuEWXZZivo1BmQx0+xQVU2KR/DPgWgYAGqJY77Y/ppeBuAQk1BBUqLv6K9Y6I0YAwL4/uR1kZHn1Lb46uSeJYIJTzlRZWPZ2P+y405r54RErKBo8DFuh+Mn8YQE08JgqOwBd5sVMc1dWu2tUJGg31LdPytZHimUwX67T1zJwU3SWr7jkxKJlNFcJWnKtXu3u2IQY86eK+cMEaw1tR5uwUiW5FfiFIE8NhHYwwpYPff35U8CREaVTlA7n Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id r11-20020a05600c458b00b0040fdb244485sm303337wmo.40.2024.02.05.08.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 08:31:26 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] arm64: dts: qcom: sc8180x: describe all PCI MSI interrupts Date: Mon, 5 Feb 2024 17:31:23 +0100 Message-Id: <20240205163123.81842-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Each group of MSI interrupts is mapped to the separate host interrupt. Describe each of interrupts in the device tree for PCIe hosts. This also corrects PCIe1 and PCIe2 first MSI interrupt. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. Binding changes: https://lore.kernel.org/all/20240205-dt-bindings-pci-qcom-split-continued-v1-0-c333cab5eeea@linaro.org/ --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 72 ++++++++++++++++++++++++--- 1 file changed, 64 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 0430d99091e3..c999cd2ec6df 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -1708,8 +1708,22 @@ pcie0: pcie@1c00000 { ranges = <0x01000000 0x0 0x60200000 0x0 0x60200000 0x0 0x100000>, <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ @@ -1805,8 +1819,22 @@ pcie3: pcie@1c08000 { ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ @@ -1903,8 +1931,22 @@ pcie1: pcie@1c10000 { ranges = <0x01000000 0x0 0x68200000 0x0 0x68200000 0x0 0x100000>, <0x02000000 0x0 0x68300000 0x0 0x68300000 0x0 0x3d00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 747 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ @@ -2001,8 +2043,22 @@ pcie2: pcie@1c18000 { ranges = <0x01000000 0x0 0x70200000 0x0 0x70200000 0x0 0x100000>, <0x02000000 0x0 0x70300000 0x0 0x70300000 0x0 0x3d00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 663 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ -- 2.34.1