From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) (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 0EE9C13B7A4; Mon, 15 Apr 2024 18:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713205281; cv=none; b=cfbXVro7igVCoTsglgMStL7cWrnSVlO07z1Tgm7UeVPdZCMjeLzN1SI/c4qjyDxVD/EztD38b6SpW5KqNbQ89PCyGSJ2GCmVwFRskAcqFklHxkicRgwLjzM9pgAxm+VDC0cMs+65gFmNf2l8TZ0QLvaotr0C1SmyRTYV9JDK97A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713205281; c=relaxed/simple; bh=k1JJ3fdr8iAG3mv1vRQYhmJ/tsONyAZSjPN0oIsaeNI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GDdUZfzkjhzVHTGG47xi1uV8JeSwvu5dxm/BBrRl24J7wHSXNOMJ7c+0/FL/WcYZQGxf8J70QuyGa3hgwHs0qxjBW8SIGdHYpsZF4058heWAU4IMwP2OFArtRulLl83+S/+M9aJWo+otK8RuIODh5FPDt88BtMlxcEENe+xUTIs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UsSyRz6M; arc=none smtp.client-ip=209.85.161.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UsSyRz6M" Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-5a9ec68784cso2100123eaf.2; Mon, 15 Apr 2024 11:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713205279; x=1713810079; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VSUxhRAqtSpAkOo8bigYXpnuJtyRvKgYbnzdNf6wuKY=; b=UsSyRz6Mbj/nrM2NfjYTYQ7yzlJM0+fWsMHnnmPSx2QLu9j97YcVfEtqt2bj+3NIaM uihokkvnsZFdLBZTnDw1VQsZmgicx47s0x0BOJpjblZAxfjJKOT0aS+EhYqaI/0VUutU aCLn7VzRkQrltSGWb25rnzntSVV64z2jPNh2foZHnmOXIuJnt0j98ELjOnGWp0+LQKYz wOxWlKAderoHq3FVIe0+lNMH4KoVOwiiJCEu366iFsbt0UfLeLIqwW+kWbl7bQGmr4CW UBHFSX2jG3DWn8ZRKhvSLaNF1+TtIPtdx76LXPmZZAw7O7+wNklenclXJKH2/bnUfgfL vZbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713205279; x=1713810079; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VSUxhRAqtSpAkOo8bigYXpnuJtyRvKgYbnzdNf6wuKY=; b=mRh3jYTrMBgrT81r/Lf+3qRR5N4RxGEsbtRme/AtoDvBp4SBu/lv+ic+vhmvqE4vxw KmzAxplwuuHcKX6LVF2UyVb+XSQOAtYRRF/p/gMYmDWNvm26r9+c/dpcqZJW5OB/4kjF HFTFCIzBvi1hWvYmL050bJDMHJsG3VngQk7P1BrJF5N9u6PaY+KqTs9tzgwl58FeIS7F L5MydGZ/8wgTCFx9ys0Me+esJ3OKVJ40rydPpNiXT07ubNlg2t3xTFHgcqKFuoZF3cCO HltLKYGNRej/B7sNN9LhRzuo1JFRqmuFgqBAjP2e47dQun3v1pAjoTqpd0cW5vZFzbe5 daMA== X-Forwarded-Encrypted: i=1; AJvYcCX1dlvsIVBMvBXIeLkjgIX0sgx+2GkyduQtaKU2i3a4a3uSjXZr3Xk9LoxNoqS1y4hw2ksYehQOO+KP4TNhFx6mFDDGgKmCzhi8q1c6LDITDKtJP/TppsmWXjPNpMeNgZE7GyxX10e7QYLx2FwKT8u3K8FX53EG2yqe9CAQfyzyBqInawErVApqVeaM0Us+WyZnjGoMvLMonvq6pe/+egP8SQw8klF5fnn8FKFcIfU6YOJFb0mA0jyTSOKrmGw= X-Gm-Message-State: AOJu0Yzdjy2ZwX5vrrmvizsLEyg1x1A2zV/9C9vOuIpdJKMWKjUc/WcM XZRoygInCEqUSkuGyTkLezBWVHHPeZQSyciTfu8H7IoeHMHWqxKi X-Google-Smtp-Source: AGHT+IHWDOfDR262vpiTAuGOuGAJ+9982G4HI7/75giU8A9pOm9OGbS5vpH7wkRuMoZaxW+ulBWPpQ== X-Received: by 2002:a4a:b045:0:b0:5ac:9fec:c32e with SMTP id g5-20020a4ab045000000b005ac9fecc32emr4272840oon.8.1713205279255; Mon, 15 Apr 2024 11:21:19 -0700 (PDT) Received: from nukework.lan (c-98-197-58-203.hsd1.tx.comcast.net. [98.197.58.203]) by smtp.gmail.com with ESMTPSA id x4-20020a056820104400b005a4dc7abc01sm2177494oot.11.2024.04.15.11.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 11:21:18 -0700 (PDT) From: Alexandru Gagniuc To: Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Michael Turquette , Stephen Boyd , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org Cc: Alexandru Gagniuc Subject: [PATCH v3 3/7] dt-bindings: PCI: qcom: Add IPQ9574 PCIe controller Date: Mon, 15 Apr 2024 13:20:48 -0500 Message-Id: <20240415182052.374494-4-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240415182052.374494-1-mr.nuke.me@gmail.com> References: <20240415182052.374494-1-mr.nuke.me@gmail.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit IPQ9574 has PCIe controllers which are almost identical to IPQ6018. The difference is that the "iface" clock is not required, and the "sleep" reset is replaced by an "aux" reset. Document these differences along with the compatible string. Signed-off-by: Alexandru Gagniuc --- .../devicetree/bindings/pci/qcom,pcie.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index cf9a6910b542..2d9bbcc95c31 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -26,6 +26,7 @@ properties: - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-msm8996 - qcom,pcie-qcs404 - qcom,pcie-sdm845 @@ -161,6 +162,7 @@ allOf: enum: - qcom,pcie-ipq6018 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 then: properties: reg: @@ -397,6 +399,37 @@ allOf: - const: axi_m_sticky # AXI Master Sticky reset - const: axi_s_sticky # AXI Slave Sticky reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-ipq9574 + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: axi_m # AXI Master clock + - const: axi_s # AXI Slave clock + - const: axi_bridge # AXI bridge clock + - const: rchng + resets: + minItems: 8 + maxItems: 8 + reset-names: + items: + - const: pipe # PIPE reset + - const: aux # AUX reset + - const: sticky # Core Sticky reset + - const: axi_m # AXI Master reset + - const: axi_s # AXI Slave reset + - const: axi_s_sticky # AXI Slave Sticky reset + - const: axi_m_sticky # AXI Master Sticky reset + - const: ahb # AHB Reset + - if: properties: compatible: @@ -507,6 +540,7 @@ allOf: - qcom,pcie-ipq8064v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-qcs404 then: required: @@ -566,6 +600,7 @@ allOf: - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-qcs404 then: properties: -- 2.40.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B0F4C00A94 for ; Mon, 15 Apr 2024 18:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0S8MFoRuGo7eJSuOB1X/jOxYiNm2UutMB9i5IrUbCBQ=; b=yhzQnjfbrkuuGH PmkDkXSLVsizot9KbP//UHTmJCmWou24PriXT0bYwbwFZTkTCRhdAFjwAVTu66ATeiwUmap5zJ4pg Dlchtj1jJJp1kzZSNzW5K8VLU21fiw2GaChT1X5SHXSvnGYRewfaZaXiIkD3co2kTOqZ9EBcr8gxl JpgNcvqISkr3gPURxJEU2SU3Bsdnlt+kndpCe9DumAicwLuEqiy1zrLrFgr8cSD/AMqXlSkWz7Wxa IouYNglxNqnnnatDyItRDWZHaKse9JeIOhVb0sKTHAf9+YLq7uVFlHifvrieT4PUUeTsvqG6LNXwz rG8dKdUSWp1wIBr2H1sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwQxH-00000009Qkb-3XbP; Mon, 15 Apr 2024 18:21:23 +0000 Received: from mail-oo1-xc33.google.com ([2607:f8b0:4864:20::c33]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwQxF-00000009QiO-1TEv for linux-phy@lists.infradead.org; Mon, 15 Apr 2024 18:21:22 +0000 Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-5aa400b917dso2299254eaf.0 for ; Mon, 15 Apr 2024 11:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713205279; x=1713810079; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VSUxhRAqtSpAkOo8bigYXpnuJtyRvKgYbnzdNf6wuKY=; b=FdJbBFZUAr6jpWNGwxyDk20mH7d12yzV145LaTWN+Icb3qgeloCYbZbVr6tiu6yhZW 9U7YcUM5SvXcfdiosZ/AUl2lzHylx53TJ6PksVft9DcVwNueLds75Rt2A0SOtu/mUGTQ Vj62SaiBilNAV91Q2EXAVvL3CT4oAqQUhrdKjQ8ZR/tHLZwZW0ZGrY+tr4mSfOTVVcEn fPpyuxSJWrFcJ14EJA78Fba7TQR9RdXBMGDVKWVijA81757oUFr5Jeko+bQwgqwoqpMe +nLWxHhUMaUbcr6yPlzn3kEfZdClkCW5IzhbLDqc63GP/C0tGq1a4BaUE9Hf7dYPljnq NfkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713205279; x=1713810079; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VSUxhRAqtSpAkOo8bigYXpnuJtyRvKgYbnzdNf6wuKY=; b=ZVnyfhgmKClyfEKses7G5uhC6dDAR7mFHH0AXh7rSIbu9MH7iqHAjjb85yTYBz09d1 6u8V09GCfdug0bXM6lf+uRFLacZ+PJbSdMZ9aCxIO8sQZLPF3ZBsOQxTCPvWIKo0K6QZ 2Jnv4Xx4pnv81vv1EoRiCtqBZ3qfHsv8XExUZwQIIqeJl/1B4feLDFnOGX6KA6Zgazvp iu0S8+M0jxlieLqa0d1cJ+oMPmIEqvuqwBk+E4B5YM5yKA4scHIOZO0inV/FwqXi48l0 z9RoBS+R5ji/nlE+gHvON7oMWFjHE2u7ryV12kObRYPyaC+aRaU/TVvP57G6szbB+tJD pVVg== X-Forwarded-Encrypted: i=1; AJvYcCX7vA9mxyD/6anSjkjNNMoN7N5f/4jLbsYsn1cN/gdRBcHRlYrRj2aoiAjpw/QpWsXllpYSTnKpROhIu6w5xZbVi+I4fTCCpKf1HVV+Tw== X-Gm-Message-State: AOJu0Yw1sGKzpQ6rh3BYdWQVzm3se7oJIzml6i//DS88fJaIXFVm0kYz 09Pcks8vH6heZ8xXpRftKzV9StpV5LVboZe+s96pMt6OJcsNxuL+ X-Google-Smtp-Source: AGHT+IHWDOfDR262vpiTAuGOuGAJ+9982G4HI7/75giU8A9pOm9OGbS5vpH7wkRuMoZaxW+ulBWPpQ== X-Received: by 2002:a4a:b045:0:b0:5ac:9fec:c32e with SMTP id g5-20020a4ab045000000b005ac9fecc32emr4272840oon.8.1713205279255; Mon, 15 Apr 2024 11:21:19 -0700 (PDT) Received: from nukework.lan (c-98-197-58-203.hsd1.tx.comcast.net. [98.197.58.203]) by smtp.gmail.com with ESMTPSA id x4-20020a056820104400b005a4dc7abc01sm2177494oot.11.2024.04.15.11.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 11:21:18 -0700 (PDT) From: Alexandru Gagniuc To: Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Michael Turquette , Stephen Boyd , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org Cc: Alexandru Gagniuc Subject: [PATCH v3 3/7] dt-bindings: PCI: qcom: Add IPQ9574 PCIe controller Date: Mon, 15 Apr 2024 13:20:48 -0500 Message-Id: <20240415182052.374494-4-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240415182052.374494-1-mr.nuke.me@gmail.com> References: <20240415182052.374494-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_112121_413905_13D6EAD0 X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org IPQ9574 has PCIe controllers which are almost identical to IPQ6018. The difference is that the "iface" clock is not required, and the "sleep" reset is replaced by an "aux" reset. Document these differences along with the compatible string. Signed-off-by: Alexandru Gagniuc --- .../devicetree/bindings/pci/qcom,pcie.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index cf9a6910b542..2d9bbcc95c31 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -26,6 +26,7 @@ properties: - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-msm8996 - qcom,pcie-qcs404 - qcom,pcie-sdm845 @@ -161,6 +162,7 @@ allOf: enum: - qcom,pcie-ipq6018 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 then: properties: reg: @@ -397,6 +399,37 @@ allOf: - const: axi_m_sticky # AXI Master Sticky reset - const: axi_s_sticky # AXI Slave Sticky reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-ipq9574 + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: axi_m # AXI Master clock + - const: axi_s # AXI Slave clock + - const: axi_bridge # AXI bridge clock + - const: rchng + resets: + minItems: 8 + maxItems: 8 + reset-names: + items: + - const: pipe # PIPE reset + - const: aux # AUX reset + - const: sticky # Core Sticky reset + - const: axi_m # AXI Master reset + - const: axi_s # AXI Slave reset + - const: axi_s_sticky # AXI Slave Sticky reset + - const: axi_m_sticky # AXI Master Sticky reset + - const: ahb # AHB Reset + - if: properties: compatible: @@ -507,6 +540,7 @@ allOf: - qcom,pcie-ipq8064v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-qcs404 then: required: @@ -566,6 +600,7 @@ allOf: - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-qcs404 then: properties: -- 2.40.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy