Message ID | 20221116155416.164239-1-krzysztof.kozlowski@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp217044wru; Wed, 16 Nov 2022 07:56:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MlzFIJbaL6avh49UNWTGCo1Ev4pzPlrPUpXae3SIDJDjAEqdr7kyrGreVVsuG2o7aOGGJ X-Received: by 2002:a62:6046:0:b0:572:698b:5f6d with SMTP id u67-20020a626046000000b00572698b5f6dmr9133413pfb.51.1668614215464; Wed, 16 Nov 2022 07:56:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668614215; cv=none; d=google.com; s=arc-20160816; b=aviywETDI4tyvwr3JMvqfwNfJkTvWVq2i7KdgQ9wNzIm+3cL8x8LLwWXTP01W3T+Gz 0v3T8/+UQ3nEfisM2TrNizHkTrM6nIrEeFRQCeMbl6HfuA3BCM58eaghuKiYDYJ16p/M WARplJoe1dZhG6lJBQs0R8fGqzy0kzD1xchEvvT7YpdgACyY6pzHDWmBZGI+NFPcoqLC cPCCJ/P7j2Q/PdKFOx8MA8bp2gmjMg7mvgd0WAqdNm3SE3APa9FC5PMwNcHGRWNiQAVn V7WZ5WKrLxRSnQBGkAmzjKICADfOMGUSgrNfjQ4bDFYUhckLeTzM0QhFD6FXcSsqwZSq 6hHw== 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=x61XENO10P73sJaqpMir6Zd1RPLJtcnUpkPInROKPhs=; b=j0vHzWtj0Jaei7c8/N2ydS9KXQ2Lmf94JZHfFXcSySj6Wt5qttCsNQidCZY94B5C+y r4uRJFRJ6nTELNB6ByYdP3lvg3nZI/BR9FNf5d4uKuPTjKoB1Z4RDB0+MGBd7WNA6rSo k/J83RJ8i7KDB7VZ3/IOeayhyIYfZZTtMkT65FWfXBCp6ZLnrWDpzr/WLTx3Om3HMZxK MoivkQNKXS4GrySXEauotGr7sqqIPHEDZK4f2q2zGy+X/B+dQvSN4H9gJW5yG7h3FN4Z k+urhfKaKE4upJhfUtR+1ZtYq6lNI+lDUilnpi7Vto5LamnIuOcjqmIF05gmI6c9ca9l cTFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J+WyS+18; 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 b10-20020a170902d50a00b0018678dab05dsi16644020plg.199.2022.11.16.07.56.42; Wed, 16 Nov 2022 07:56:55 -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=J+WyS+18; 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 S233489AbiKPPyY (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 10:54:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233206AbiKPPyW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 10:54:22 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A27FD47320 for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 07:54:20 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id r12so30195593lfp.1 for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 07:54:20 -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=x61XENO10P73sJaqpMir6Zd1RPLJtcnUpkPInROKPhs=; b=J+WyS+18pYK5gb5pSIbpZhQddz2jw48TXdkqfC4atduq9Gxrl+Ap8HpdT76hIZ0BvO JFyMyOjnLLtufdmANsMfPQ8ZrrkYf0+DDL3vjvecLFpcVUmZLbjENKb8ZMpYyA0SRneN oc7ixZBwarobSdjo4upPkKTwWeaBguKvRY3SBLOW4Gp8RiC6NmJvFxF0j+4/Qfohk4ob J66ateLT1og/Ef49xPalLbP0D8nH85R0tz/7yIgeFY0YHFmTMSxVbcucfDYzdd55KSeC DWjd45KToS23UiNyu7Y3wp/X7ZnTIMkPeW6PsYZuaGVZZcnwDOeQwVD91+epvB32zckP x8Sg== 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=x61XENO10P73sJaqpMir6Zd1RPLJtcnUpkPInROKPhs=; b=y1/o9j6bTAdo6HKL1gqZyWmQI8ejtt2bms3T7R6iRJ7Y5zxCwkqWpb2unckLYLpc6D 2oAmY5mVlbRpNojQ+nt6ucO79Sn7xX40tfdvh82pza3fA//0/HZEdaGhv3FO49crIvbV kD4SquAKx4d8Epa25YROII4HYZ5S9v5g5SSxycMyQ8rHDAKeIZIiZdgwCM8gnGXF82kR jpZiUQAXpj0E8u5xwINhKCLdh2MvuIvOy0+buQ27m0ZUe5z/lJyFG+nTCFi6OaxRd7jq /2lUntj4kF2HLb3t4dUmkb5TRcZmvnv7liRXxYoen7dp7uchd0X4VSbc6nZeaQcM7SGR fhIA== X-Gm-Message-State: ANoB5plWdRMki3pBIagqrJzQ32RT67hJgFN8+spERTnHjam7YNHzNS5X KMDNa6IFKl98aYJRozUJZZLDMw== X-Received: by 2002:a05:6512:224d:b0:4a2:be5c:688f with SMTP id i13-20020a056512224d00b004a2be5c688fmr6876505lfu.121.1668614058965; Wed, 16 Nov 2022 07:54:18 -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 u19-20020a05651220d300b0049462af8614sm2655128lfr.145.2022.11.16.07.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 07:54:18 -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 0/5] dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL Date: Wed, 16 Nov 2022 16:54:11 +0100 Message-Id: <20221116155416.164239-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=unavailable 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?1749668819590071150?= X-GMAIL-MSGID: =?utf-8?q?1749668819590071150?= |
Series |
dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL
|
|
Message
Krzysztof Kozlowski
Nov. 16, 2022, 3:54 p.m. UTC
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 (5): 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 .../bindings/remoteproc/qcom,adsp.yaml | 234 +----------------- .../bindings/remoteproc/qcom,pas-common.yaml | 121 +++++++++ .../remoteproc/qcom,sc8280xp-pas.yaml | 154 ++++++++++++ .../bindings/remoteproc/qcom,sm6350-pas.yaml | 169 +++++++++++++ .../bindings/remoteproc/qcom,sm8150-pas.yaml | 178 +++++++++++++ .../bindings/remoteproc/qcom,sm8350-pas.yaml | 188 ++++++++++++++ 6 files changed, 812 insertions(+), 232 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-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