Message ID | 20240126-dt-bindings-pci-qcom-split-v3-0-f23cda4d74c0@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-39824-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:e09d:b0:103:945f:af90 with SMTP id gm29csp545770dyb; Fri, 26 Jan 2024 01:37:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYzgrvAZEQ5/AXoJBQBIf/HAzUN+ad5nTJOUoDjh1wa4t7LtVd7JvI1THFfBIRWcz0PJXp X-Received: by 2002:a05:600c:1c85:b0:40e:d310:c17 with SMTP id k5-20020a05600c1c8500b0040ed3100c17mr678717wms.41.1706261845836; Fri, 26 Jan 2024 01:37:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706261845; cv=pass; d=google.com; s=arc-20160816; b=vEmDmX4TSeKeo5lZ6GP2HXniZIFOn3EETbHBtecJTYvZ0BEtoEYPPoUuDPWryzmzPl PF56SXP4bSIDz6DkjSwLJ5ZgudcKbf8ADLWqA1pSa6RpiCQDaJT6Zr30i1QGsjyBVqhs QKDOei8Mdj02ksQrnQBIBzv25au7esj6mxw0c2CQFYU42U+sA+TTCVx2lU93GutNNMsx vKHGPOI/MSMBLzFKL3cA6P7GPlCAvqGbvSm51vOlKFyfj1cZfNjXIWviyP/ws2T4LSRW lXbjzRxMRoFvPqrI00OnvD++DnXb4uOMMQUioniVN16xmeQjfNtKvnjTe/7Els7C2Q46 +uVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=Vb194lkKB1bLoKzQ+FGE1tNJV63QbV8cNld779JBX9A=; fh=Fc6/QvWtTkJoTSBgpsNzbxR5S703KF7uNNA0GYqQKKs=; b=hboibitRDkrk9qyrc3RL3rDbbcJuScLG7slEDg8ek1l0URx9tFlshaMkqO7C70DOON DrCU+0yX6Isia7KnYqtJ5WQ7oufuw4fWLMxNx8Ah1dbXD322a736I1+whqyTtdGcgJos xNQTR9hnSTQz61gS3Y6xNex5lvvoWss395kBc8mK4EXqj3EPpjJMe/pQz9n38ihFXbMW aCpBwwtQfOpnexY8k39M3vpt3nDQAXU7lxhCdD+ja2ELRwTNq52IGSck/xcbDfp5QqBn PnNgMTwMJtit1N6IQp1fKop5QecpoS4QRFpbfGk/bSjYKWsqqZKv9S7PJuTwvtP1xxYs d42A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wpdc6epy; 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-39824-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39824-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u25-20020a17090657d900b00a30fd7a5611si419037ejr.124.2024.01.26.01.37.25 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:37:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39824-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wpdc6epy; 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-39824-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39824-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7BD8C1F211F6 for <ouuuleilei@gmail.com>; Fri, 26 Jan 2024 09:36:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D70BD14077A; Fri, 26 Jan 2024 08:57:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wpdc6epy" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 AE42713E233 for <linux-kernel@vger.kernel.org>; Fri, 26 Jan 2024 08:56:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706259417; cv=none; b=We7f2C5Q9oHwFHSdBxGVJHonx15CBSpIxxs1ESj6v1gWajdxiXHhBqnLA0Ia5lvJ5wiZsRUj4+I2dp2Jk+hoZvOCwAU3lXdVgzXgrsUYnCSMrcqjRiLZ5dJZD9x90pxHT9Zbj947JHlKkFMZ0/YGdl5bPr7upB1RD+BlE2xC/pY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706259417; c=relaxed/simple; bh=MKKjC6jIpNRUDSBems9jU+ydUbjTp0Ejd6SJvR4oqXQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=o7OkXC3UDZqqUmNSmySEcqlDQbG3YDEck0hTgbpB4bMNns72AGWZ/AGp/ITzhXpGC4HyUpTSTMjIX0gctVKmvJLnarh6xW1bLpqMCioJfMYY92MxPCKuMsCp+5N+h+eSHw0cA6JoK6Z+DmllCPTxPd8qMsuYfxNSjUalq1pUOWk= 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=wpdc6epy; arc=none smtp.client-ip=209.85.208.49 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-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-55cec718c30so105242a12.1 for <linux-kernel@vger.kernel.org>; Fri, 26 Jan 2024 00:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706259413; x=1706864213; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Vb194lkKB1bLoKzQ+FGE1tNJV63QbV8cNld779JBX9A=; b=wpdc6epy6otlEIMyqeHKnfrgAf2KMl+3oJ4dBPiqMcvb03Jxr5AVoTWtZA60FipvYJ dg7LjDyQFNLgrhY3Wns8pTkbX5+bVeOF1Pd7uKMJH6a8eF1n1nC8vpxvgq+8JnMx6d4f yZEddM2ywBqNG+m/Q0K2GjOT29AettVJNE5D5rbPf67Nq6HNUtaXhxsvuCYtmUqCcacr pVyCiz9omRCg808vJb5jB1YjLrdfS5tAxatuDO7I4A5cKwEv1Xyvri87FSFrLSGc+UYo A36SB10cKmrN2d0hjN8XOVwSmo9gE4lnbHsC8VaZsj/uXwyzboK8V26nWeMT+Caqx0n3 aytA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706259413; x=1706864213; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vb194lkKB1bLoKzQ+FGE1tNJV63QbV8cNld779JBX9A=; b=h+gQ/qx9OB2IUk7JSS1vFaTcvN8pGji37Toppv2/VdF2HDo9xFMIAsLElZ5bcAyytI mQ4QHrD+KOXs7kDHpTwXF+djgCWaFzjN5gSvFQMyhibCCx/m1gxEWPh3BLvYBy65D7a3 OOZ66baSrOaGTzK0AQtFPpHLWvoDckLhDQFOuCrKRXOBt/Ymbdq2s51YdsNDKCFNJcRo dJ+xjrdCs16EnkOx0kWhW4o3Wh4WHO/CrOuqQzsEcO4DpX8Jxf/w3heD7B0D/jOTCnX3 Bl2CEe9uQl0bFYp4D5fGexl/XqH663dfX3EU5WToLWPHBEcEHw3l6rSY95NnXthEWZzI zHIQ== X-Gm-Message-State: AOJu0YzavvUE9Fc9W8r5eJV0eQlE+4MdGK4VRVaA13qHoGWzU76o59m2 w8dDbIuPbGyHuTorcc741AarisBFqeINjcyzm9Ft2FvNrlKMGaiicngTKuvcvyNyMHzlId5pi6N N X-Received: by 2002:a17:907:767a:b0:a2d:9379:7fe6 with SMTP id kk26-20020a170907767a00b00a2d93797fe6mr478368ejc.61.1706259413263; Fri, 26 Jan 2024 00:56:53 -0800 (PST) Received: from [127.0.1.1] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id q15-20020a170906b28f00b00a31710c0d32sm390522ejz.203.2024.01.26.00.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 00:56:52 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH v3 0/6] dt-bindings: PCI: qcom: move to dedicated schema (part one) Date: Fri, 26 Jan 2024 09:56:41 +0100 Message-Id: <20240126-dt-bindings-pci-qcom-split-v3-0-f23cda4d74c0@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMlzs2UC/43NsQ6DIBSF4VcxzL0NIIrt1PdoOqCA3sSCBUPaG N+96NQuTcf/DN9ZSDQBTSTnYiHBJIzoXY7yUJBuUK43gDo34ZQLymgDeoYWnUbXR5g6hEfn7xC nEWeouZCltLJVtSQZmIKx+Nzx6y33gHH24bV/Jbatf7GJAQVdCWZpZYU29DKiU8EffejJ5ib+Y fHqp8WzVbdVY6w+MSXVl7Wu6xvyqjIVEQEAAA== To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Manivannan Sadhasivam <mani@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring <robh@kernel.org>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2234; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=MKKjC6jIpNRUDSBems9jU+ydUbjTp0Ejd6SJvR4oqXQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBls3PLd8yQ5ncoVHzjUyAg4elRjb+jHcgGKrymB q3dJFqQuLOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZbNzywAKCRDBN2bmhouD 163bD/0QlrQ93tdsF0JT6znrhvIvIMUD60bqyubg4GqAClV5bWlg7dulzuN+ehkFq5lTU6fB+F4 qzx4tXtBTAfLU8JKysnVTXSQZ+8338m7bYJdDRHVLk4HudDHCMlTH5K37rrYV1pbNrT7SGcEQmP zKv+3wwIVniz1wJGCDGUgscLUPiT4YXDC1W8Y69hKJteg6Fhgc7NnPlx3ilOJ0dQHN382GAPXWL XfELpBkeVljIrEjTwphGH3N4cwCDEHU30bnetwmYnkw3f8CI2j3sNSocOyTQJTaH3EDkRU6KcT7 jW3o9NojDy1ma7KEbdMRUTPHj15Skr8Ing+u7xNpXNEa71SlJeuykT0IxrjX7yz4kVNAnKCaI8P l0G7PxBwe8VPCicOu34hFgJqSeksy8ANVZbflH7tYA8rQplfkmu0tRz3aHX9fVxHYgRCM0n+vRK 3+2Gcie72DBUUx2jpJHb2hJ257Kqsq32fDJtKYtVoS1mxOv2ZyPdhAym8wSpZwqIfT/pyg8ZncW h57xlns05uuNmT3GBseosisho+WHO5V25lHDkinbO94y89j41hYpw0MU0enSURrDNrWJ+5hfmxd W3zKbCoYtf4yLcHZJPaX5udYbzl8EVqGGgdvg2BexZalzKsh1ZJBe4YP1d38iY93FlxRf8rcvrq 84Epc8+TtNss1Mw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789145221364828229 X-GMAIL-MSGID: 1789145221364828229 |
Series |
dt-bindings: PCI: qcom: move to dedicated schema (part one)
|
|
Message
Krzysztof Kozlowski
Jan. 26, 2024, 8:56 a.m. UTC
Hi, Changes in v3: - sm8450: add missing allOf: to common schema, which also fixes issue reported by Rob's robot. - Link to v2: https://lore.kernel.org/r/20240125-dt-bindings-pci-qcom-split-v2-0-6b58efd91a7a@linaro.org Changes in v2: - Switch on SM8[123456]50 to 8 MSI interrupts. - Simplify SM8450 clocks. - Add Acks/Rb. - Link to v1: https://lore.kernel.org/r/20240108-dt-bindings-pci-qcom-split-v1-0-d541f05f4de0@linaro.org DTS fixes for interrupts will be send separately The qcom,pcie.yaml containing all devices results in huge allOf: section with a lot of if:then: clauses making review and changes quite difficult. Split common parts into common schema and then move few devices to dedicated files, so that each file will be easier to review. I did not split/move all devices yet, so if this gets accepted I plan to send more patches. Best regards, Krzysztof --- Krzysztof Kozlowski (6): dt-bindings: PCI: qcom,pcie-sm8550: move SM8550 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8450: move SM8450 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8250: move SM8250 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8150: move SM8150 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8350: move SM8350 to dedicated schema dt-bindings: PCI: qcom,pcie-sc8280xp: move SC8280XP to dedicated schema .../devicetree/bindings/pci/qcom,pcie-common.yaml | 98 ++++++++ .../bindings/pci/qcom,pcie-sc8280xp.yaml | 180 ++++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8150.yaml | 158 ++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8250.yaml | 173 +++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8350.yaml | 184 ++++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8450.yaml | 178 ++++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8550.yaml | 171 +++++++++++++ .../devicetree/bindings/pci/qcom,pcie.yaml | 268 --------------------- 8 files changed, 1142 insertions(+), 268 deletions(-) --- base-commit: 9357735abbd23457a3e06ba0142b7e88e7424410 change-id: 20240108-dt-bindings-pci-qcom-split-624737f7ba67 Best regards,
Comments
On 26/01/2024 09:56, Krzysztof Kozlowski wrote: > Hi, > > Changes in v3: > - sm8450: add missing allOf: to common schema, which also fixes issue > reported by Rob's robot. > - Link to v2: https://lore.kernel.org/r/20240125-dt-bindings-pci-qcom-split-v2-0-6b58efd91a7a@linaro.org > > Changes in v2: > - Switch on SM8[123456]50 to 8 MSI interrupts. > - Simplify SM8450 clocks. > - Add Acks/Rb. > - Link to v1: https://lore.kernel.org/r/20240108-dt-bindings-pci-qcom-split-v1-0-d541f05f4de0@linaro.org > > DTS fixes for interrupts will be send separately > > The qcom,pcie.yaml containing all devices results in huge allOf: section > with a lot of if:then: clauses making review and changes quite > difficult. > > Split common parts into common schema and then move few devices to > dedicated files, so that each file will be easier to review. > > I did not split/move all devices yet, so if this gets accepted I plan to > send more patches. Krzysztof W., Bjorn H., Lorenzo, Any comments from your side? If not, could you apply the series? I already have work on top of this and other people are sending patches touching same diff-context, so they should rebase on top of this. Best regards, Krzysztof