Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp9329938rwb; Thu, 24 Nov 2022 11:06:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf5tW3fvMcQ/hSnilJFW+V0CJmh5VKW49Dekze2d34S7Bc4OblLCSnDf0SEFFJ2ud8IJD3gN X-Received: by 2002:a17:906:15ca:b0:7a5:7c1c:cc5c with SMTP id l10-20020a17090615ca00b007a57c1ccc5cmr28901584ejd.644.1669316784339; Thu, 24 Nov 2022 11:06:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669316784; cv=none; d=google.com; s=arc-20160816; b=NapmTnBotQmP+6Sxn3LTBvcR3hYgwgKycSDASGn+Mheui4cTdhUO+0RZVwQOcb/8W2 OnyKAG+7110m01BVNhwQ248zMxymgX3YXVsA1xN+hJqBxYGDmVAWwWJYMcyV7+pGI6Hd FJ84WxtEF0403EP92ur1hSaHntXajDjDJy3Rjp7ONqKsNcgZCKVVie4ojles3/4R0jIa NZ5XVp5A6+NytL4umPJhYyb6WS33XFfvAlYvUhYcZiqq+8eER5NNEr8fxNuE+O13VhQq P8SF3KKiLcmYuAtM9rRqObff+PnY15eLLm5RiB0M7bRnAgFPZkXiee5dy7fWGojOGuMT mTnA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr17-20020a170907721100b0078d83fb6672si1695181ejc.118.2022.11.24.11.06.00; Thu, 24 Nov 2022 11:06:24 -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 + 86 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 ); 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 ; Thu, 24 Nov 2022 10:43:45 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id j2so330380ljg.10 for ; 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 To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.34.1