From patchwork Wed Nov 16 15:54:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 625150 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC3F1C43217 for ; Wed, 16 Nov 2022 15:54:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233318AbiKPPyX (ORCPT ); Wed, 16 Nov 2022 10:54:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230287AbiKPPyW (ORCPT ); Wed, 16 Nov 2022 10:54:22 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1FE3C6E0 for ; Wed, 16 Nov 2022 07:54:20 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id l12so30178896lfp.6 for ; 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=YLk5g1qXufNlDfrqP3eoBzfj6YBFeWdib6g6Ag9kvtayO4hClEEWlMKX5DVwMG6Huh mEqtRbW9qe4y07nd24nNKX46CU5fwGvxW1ihlrlZ3r+e6UWSnuts2JV3eDmtFrXrdWgt f4ClL6Li3bfBAO3U+jVTGhjoPeO8b96YZu8KzxUZFtpGdAtlCiLwBuxs5weoVbpsGLJK We9UcTXbJXqBcpcmn/DOTXD1q1YNvQPPW/pUdloIQtDf+sIvRhxUQ4tdX0D5PJRRbuNx 25841KdmqbAGujxG33i7i9OO/OJwO0kwySKy9lN+hEV83CdeVEfCu3r8AsjwmXMx6fDK 4vmQ== X-Gm-Message-State: ANoB5pk3RGmi4/gEZzw60G+r54d2K2X9WJDs/9YidxtF9HWku2ewwEct G8hZhoiF7DPqSYEXz+qnn7Tylw== X-Google-Smtp-Source: AA0mqf7Kx9Dbj5ynt4BC2nqBQdQuqsrtEUKsXay1mniKRqjawlRTFdGjV93sNPtcg61LNDtSsZr0tw== 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 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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