Message ID | 20221124184333.133911-1-krzysztof.kozlowski@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3556967wrr; Thu, 24 Nov 2022 10:44:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xCMF/y2qwxlw8L23L6/iMKHYwLM3tZVTFJCRsJTD+EfoC5wbcRIRyBqk0GpBhWLar47mM X-Received: by 2002:a17:902:ccca:b0:186:6c10:7260 with SMTP id z10-20020a170902ccca00b001866c107260mr20637983ple.26.1669315458887; Thu, 24 Nov 2022 10:44:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669315458; cv=none; d=google.com; s=arc-20160816; b=uUyQncfUa2E39L8/WxzdRWw3nDCIzxl38MppgsowFYIcj89nqfkzfZ9sHTtnY2j86M DfX8aMmbdyepzKZAH9qqmptL4lE+VyWAMiNbIDMscrn8/q1EPpyc1IkkS2agXCfUhTpE CyMC32eSFp4P5+taqIMU3iHdIH7f86PewuQAW58XfFhEWH/s1CCg9ArQ8qsf8kaiWUiQ IEnLAAF7/rJM2rlXySoqZ6whM+/KY9WmU4rPEWCSvzGMCB/dUJZH7NCQbKnJepARImSg YdVAq5V61vFkj0opXlJdErWSIlpAS5SbPXglF3fb269uRSqCDL/nu2Yzds5gU6/C1DEN aVeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=U7lP3qWDAVJuWZTBOEagOeM+IpWxGPuX90YrziM7c8o=; b=WVxfebXYzrID+yUZvNdqF0N16zHNEPmLazXen1D6GTURnMyzIWKyRX+JujDYG6aQ3q w6ZVvPkqaMcFi4g2rzqsG18OajMWAvMqhzTpx8s+Kvj9MiOmLIr0N91vQsHUXz/Normq Otk59iAdGbJg+1qIlTbrVJFQgYOwzYVwlnRm+OUK3mho+0XZfDs0XqnT1+dGnl1aQ0ZF vHCkK80JSrlt8ga58xN1JCP6hry3Rg8Y82YtEJCIQKz0tK3uT7xCfd+YHF0LCxhB28NK ZA8JwmPsy+VnBNgh+AGt3LEw8hBdWyMMAr/++EHguG6MxWUu/FrhQKQfQVD1WS534eiy Q/WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qgJsAwsB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj9-20020a170903048900b001872cd80411si1581275plb.193.2022.11.24.10.44.05; Thu, 24 Nov 2022 10:44:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qgJsAwsB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiKXSns (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Thu, 24 Nov 2022 13:43:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiKXSnq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Nov 2022 13:43:46 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2408DF886C for <linux-kernel@vger.kernel.org>; Thu, 24 Nov 2022 10:43:45 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id j2so330380ljg.10 for <linux-kernel@vger.kernel.org>; Thu, 24 Nov 2022 10:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=U7lP3qWDAVJuWZTBOEagOeM+IpWxGPuX90YrziM7c8o=; b=qgJsAwsBj38fBI4eGgboaAwgTwE22X8i6M7t2Tb8nkxV80HVWPLRxtK6X1z+kNVbvr WY2PsnJW+YHGx+A86HP9fWS4kGMxvY6xDe25WPQ2rw1CR+CaSBV7k91MirCMxznM2APS qNA4o9qkvoo3PGzQ6o/ePDPlgCI0EQrqZI6Cpv/6nYSOyeqGZ1WoKXs4r4nxJJ2rzS4L urynfKE+hqD5pmQ/ou92Ah8JwUjYksb9jDdQ7g4G0kTk2lmeUWQAeWn4f5NUdZZKNUN3 HjexgkuD0AqFOVES6KcYbuKk1nxdo4+hTO7m75N0ogrmeo338tX9xDS9sJjoxIQctGPo wNkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=U7lP3qWDAVJuWZTBOEagOeM+IpWxGPuX90YrziM7c8o=; b=deS7M61VH0UtIxUG3x4K0zRNDJRiBcmMh2PWT1/zuzhwJZF6l2u2I27QXurpPm7qpc mmthlTUARxKzsJfs2UWroYo1ZeJR5wQGX3/DALkF1PZaM07D7XOCIFR3JDUJp1zMNQaV Hl76QL2TUUa0jeM0V35+F5/A0NGxWD30xZCWzIbrraZqYfnEeKx3asE9PYxz0gswNNr2 zllh2MfH0oc9Wsxh6aUc7kxviA6evJRvKZ/Skp5lLozc1dFIwA/h7KirGJM+sK0+i1i+ sVDLL5CddL2dAromnti2lNa+ARAZ8BKeWtCmu2uNWJOiVzCjz7uaeJ6wPPG7uywkfZwu UiFA== X-Gm-Message-State: ANoB5pkv0qsD/i28VbBInWJYY9MDy7xCoAJVSnfJebQH5R93wcT1tCRT rfx39wNq8xtnbbdCdbkJySJ0mA== X-Received: by 2002:a2e:8645:0:b0:279:7b24:641c with SMTP id i5-20020a2e8645000000b002797b24641cmr2591012ljj.344.1669315423434; Thu, 24 Nov 2022 10:43:43 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v7-20020a2ea607000000b0026e0434eb1esm159098ljp.67.2022.11.24.10.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 10:43:42 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Manivannan Sadhasivam <mani@kernel.org>, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH v3 00/15] dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL Date: Thu, 24 Nov 2022 19:43:18 +0100 Message-Id: <20221124184333.133911-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750404126770112793?= X-GMAIL-MSGID: =?utf-8?q?1750404126770112793?= |
Series |
dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL
|
|
Message
Krzysztof Kozlowski
Nov. 24, 2022, 6:43 p.m. UTC
Changes since v2 ================ 1. Allow only one or two clocks, after dropping clocks related to PIL binding. 2. Drop if:then: for the clock and put it directly under properties 3. Merge two if:then: clauses for setting interrupts. 4. New patches: DTS fixes, qcom,adsp: drop resets and qcom,halt-regs, qcom,qcs404-pas, qcom,sc7180-pas and last msm8996-slpi-pil fix. Changes since v1 ================ 1. Keep resets, reset-names, qcom,qmp and qcom,halt-regs in qcom,adsp, because they are not shared with most of PAS bindings. 2. Add firmware-name to examples. 3. New patches: qcom,sc8180x-pas and qcom,sdx55-pas. Description =========== The Qualcomm PAS/PIL (qcom,adsp.yaml) bindings grew considerably with huge amount of if:then:else blocks and 40 compatibles (still growing). These if:then:else blocks constrain clocks, power-domains and interrupt per variants. Adding new variants is now tricky - it's easy to forget to add variant to one if:then: clause. Split the bindings into reusable schema and per-soc bindings, groupping them when applicable. This part is finished, but more and more compatibles should be moved out of qcom,adsp.yaml, eventually dropping the file. Best regards, Krzysztof Krzysztof Kozlowski (15): arm64: dts: qcom: msm8996: drop address/size cells from smd-edge arm64: dts: qcom: qcs404: align CDSP PAS node with bindings arm64: dts: qcom: sc7180: align MPSS PAS node with bindings arm64: dts: qcom: sc7280: align MPSS PAS node with bindings dt-bindings: remoteproc: qcom,adsp: drop resets and qcom,halt-regs dt-bindings: remoteproc: qcom,adsp: split common part dt-bindings: remoteproc: qcom,sm8350-pas: split into separate file dt-bindings: remoteproc: qcom,sm8150-pas: split into separate file dt-bindings: remoteproc: qcom,sm6350-pas: split into separate file dt-bindings: remoteproc: qcom,sc8280xp-pas: split into separate file dt-bindings: remoteproc: qcom,sc8180x-pas: split into separate file dt-bindings: remoteproc: qcom,sdx55-pas: split into separate file dt-bindings: remoteproc: qcom,qcs404-pas: split into separate file dt-bindings: remoteproc: qcom,sc7180-pas: split into separate file dt-bindings: remoteproc: qcom,adsp: correct msm8996-slpi-pil clocks .../bindings/remoteproc/qcom,adsp.yaml | 414 +----------------- .../bindings/remoteproc/qcom,pas-common.yaml | 97 ++++ .../bindings/remoteproc/qcom,qcs404-pas.yaml | 86 ++++ .../bindings/remoteproc/qcom,sc7180-pas.yaml | 125 ++++++ .../bindings/remoteproc/qcom,sc8180x-pas.yaml | 87 ++++ .../remoteproc/qcom,sc8280xp-pas.yaml | 139 ++++++ .../bindings/remoteproc/qcom,sdx55-pas.yaml | 101 +++++ .../bindings/remoteproc/qcom,sm6350-pas.yaml | 159 +++++++ .../bindings/remoteproc/qcom,sm8150-pas.yaml | 166 +++++++ .../bindings/remoteproc/qcom,sm8350-pas.yaml | 174 ++++++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 +- arch/arm64/boot/dts/qcom/qcs404.dtsi | 46 +- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 18 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 18 + arch/arm64/boot/dts/qcom/sc7180.dtsi | 20 +- .../dts/qcom/sc7280-herobrine-lte-sku.dtsi | 17 + arch/arm64/boot/dts/qcom/sc7280.dtsi | 16 +- 17 files changed, 1221 insertions(+), 465 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml
Comments
On Thu, 24 Nov 2022 19:43:18 +0100, Krzysztof Kozlowski wrote: > Changes since v2 > ================ > 1. Allow only one or two clocks, after dropping clocks related to PIL binding. > 2. Drop if:then: for the clock and put it directly under properties > 3. Merge two if:then: clauses for setting interrupts. > 4. New patches: DTS fixes, qcom,adsp: drop resets and qcom,halt-regs, > qcom,qcs404-pas, qcom,sc7180-pas and last msm8996-slpi-pil fix. > > [...] Applied, thanks! [05/15] dt-bindings: remoteproc: qcom,adsp: drop resets and qcom,halt-regs commit: c97c4b480fcba2e6ebfacb3990d8b9092916d986 [06/15] dt-bindings: remoteproc: qcom,adsp: split common part commit: ea5a10ae295425c9f52577d91b2e45290291d242 [07/15] dt-bindings: remoteproc: qcom,sm8350-pas: split into separate file commit: 4e8b39a4d38ebb192ebff977d8a961fd97e7ce5f [08/15] dt-bindings: remoteproc: qcom,sm8150-pas: split into separate file commit: db292776589f1fcbcf2fc6eaebe40a3a2abb4521 [09/15] dt-bindings: remoteproc: qcom,sm6350-pas: split into separate file commit: 41729b772c13105ee126ee6fe1bf2cd93c7bd258 [10/15] dt-bindings: remoteproc: qcom,sc8280xp-pas: split into separate file commit: 397c619cad8109f5904466ee76d5a1533d2f1590 [11/15] dt-bindings: remoteproc: qcom,sc8180x-pas: split into separate file commit: 4b4157518f1ab1276cd08dfab0e51b1409c22e40 [12/15] dt-bindings: remoteproc: qcom,sdx55-pas: split into separate file commit: b6f8410eab9270000b8b13b88bc038e9f27c2c45 [13/15] dt-bindings: remoteproc: qcom,qcs404-pas: split into separate file commit: 255d7a9581ed4506dddf993aad9dc27bff8296d1 [14/15] dt-bindings: remoteproc: qcom,sc7180-pas: split into separate file commit: 8bb92d6fd0b3788b4270eff547cb42cb64db1bff [15/15] dt-bindings: remoteproc: qcom,adsp: correct msm8996-slpi-pil clocks commit: 569d3a7580bcbc463920b0d84ca5caf23e808f90 Best regards,