Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2006680rwb; Fri, 11 Nov 2022 03:49:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf6X9bDzQiY0n1nzJ3Mt8+xVp6hKXaTX9zoBf3XXNR1LqOmNSsL7DLcsbz/vBpZFIEhaCzkP X-Received: by 2002:a05:6402:3888:b0:461:78ef:56e8 with SMTP id fd8-20020a056402388800b0046178ef56e8mr1057375edb.397.1668167398010; Fri, 11 Nov 2022 03:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668167398; cv=none; d=google.com; s=arc-20160816; b=HHhGOaL7VhHISgdTGwlyTVOdKfynq25G1eL/bFTQxwKftfgsSDBUgUJa5atJLb0+o4 Qn/wcg8ayGmcMYNhFkDSBMxR5MHVhhMe71dja3uLts4KtuelMqQey6nPXYHM+ZaSBMkd EsnOTQxmpReviZI8kfk56ZZghZUUcxM67Ii4rAtAK2iic6w1AeyE4iZaEuf8N+YOvV5m Ws4/PcgTPUBzvBxp5X7VuJq68KN2AF41CQjLmVq7e85uK9octAhtrXmD3E5jJfRXaIyj IXQ9SwUoEK5Erhe+q7Ibp8zM0j2tzKjQgNPgnGtpP2Xo2VY7Bji0mAb4u3C9Wrc0pkxm kzMQ== 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=8+lo+EYchQIrutfVK7r/d71O1gZIvEmM22KyAmAwjKs=; b=QC/v0J/hMFVCRI1cic+RmA9KR/fvPX+PMPXR1QrWwo0vWELW98Rfyy1AtxMC9YgSdN ZLxaPkHrHvDB/FIT44Ke0D+BKFTDlEZwhR05Oee/n+FDii5pUjbYC/j/6tRtiQ7Siji2 KMJxZeh24b5H/CRZpqlJdlODcl5UQ3Dl7le9XYNHmkvaCJT7d5+B+cl7o/ZuRQd1qWPn qgymWU1zko9ou9y0dpZUGws3m2KPLEZt70FnKmebTLaUeDujRCX2NFNyw4TGQQerLTgr RqjUpUOARb46gVOaEhPk1nqy75U9dN1bwjXM6hh96OhkABZ7sEbtLLFoBCZAMwoiuWv4 UwtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zqzPwf0V; 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 d25-20020a1709067f1900b0078df2f22f80si1483564ejr.647.2022.11.11.03.49.36; Fri, 11 Nov 2022 03:49:57 -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=zqzPwf0V; 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 S232341AbiKKLgN (ORCPT + 92 others); Fri, 11 Nov 2022 06:36:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiKKLgL (ORCPT ); Fri, 11 Nov 2022 06:36:11 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A03FDE84 for ; Fri, 11 Nov 2022 03:36:10 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id x21so4199993ljg.10 for ; Fri, 11 Nov 2022 03:36:10 -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=8+lo+EYchQIrutfVK7r/d71O1gZIvEmM22KyAmAwjKs=; b=zqzPwf0VhpEKqnCJQeB0cnMdP0hokvV0Xjbk46zcHBaH/WGMkK0ilcn5ZTjIoEjERy R+fU8Ifo5B5st2HNnfBFhjhkdVUcahN9cnzJaFzXWQZ/qBD8erQsfNDYiuZv2infQ/2N FFWRDmTX+5xIafMQpS5yIKM0Iw0zBUF4U62f5eLnlkO6HaT18V2lBXUNRJ9miqTJUcf/ JBakGu05Diiy1F6bjHIS2+PSoa4zRdL6a3idwVYdgF4wIhrzSHpuz/Hy5XI6wkR+rLC+ WwFppQTw8eTdo7P5I4hysvzkWWWwzXLvyXaajXneXiGLptSWzl47/ZerTddPm+9fFVz1 WYRA== 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=8+lo+EYchQIrutfVK7r/d71O1gZIvEmM22KyAmAwjKs=; b=73f1AV7JrPaNQDFa/2HcvgOSO6Y/pNaInOXMEO54xrtcuXMwEngZW4rme1SfNX5HE9 VGHQz8pcn/MuU3eZVeWb0IuFBfG0KTVrQPSCOLcw0eNskN5zHAnQZ/vVtZghiFji8GCZ V3+GwM3SkO4sCS6UvVBSdZJPS2VhVH+MIjOYlhjS8q1BJDf04tTp1NB2QeWyDkV1DBny XbHMO5VBwqIyqGGXlPTJsSGSHvH/OQg1C5z3J/mEvqhnFQo8/YS54N85a+p+pgAkeUWJ /olyT0YBZ4ZKB39uVnuZQ8cNbmKJ6dlj1MKpo+ipJo6LDgqcV+Jhuy1VUKH8QF6Qeh7k AO2w== X-Gm-Message-State: ANoB5pnv1RMFnAIEbk1npY4IzA0/oUJqkqM8DiXtmHuslZBu40RljAgT T1JouVY5zRJWGAGcM7EWqvvHLA== X-Received: by 2002:a2e:960c:0:b0:278:eab6:7542 with SMTP id v12-20020a2e960c000000b00278eab67542mr300253ljh.400.1668166568655; Fri, 11 Nov 2022 03:36:08 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id bi30-20020a0565120e9e00b004acb2adfa1fsm274970lfb.307.2022.11.11.03.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 03:36:08 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Patrick Lai , Srinivasa Rao Mandadapu , Krzysztof Kozlowski Subject: [PATCH 00/10] ASoC: dt-bindings: Rework Qualcomm APR/GPR Sound nodes for SM8450 Date: Fri, 11 Nov 2022 12:35:37 +0100 Message-Id: <20221111113547.100442-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 Adding sound support for Qualcomm SM8450 SoC (and later for SC8280XP) brought some changes to APR/GPR services bindings. These bindings are part of qcom,apr.yaml: apr-or-gpr-device-node <- qcom,apr.yaml apr-gpr-service@[0-9] <- qcom,apr.yaml service-specific-components <- /schemas/sound/qcom,q6*.yaml The schema for services (apr-gpr-service@[0-9]) already grows considerably and is still quite not specific. It allows several incorrect combinations, like adding a clock-controller to a APM device. Restricting it would complicate the schema even more. Bringing new support for sound on Qualcomm SM8450 and SC8280XP SoC would grow it as well. Refactor the bindings before extending them for Qualcomm SM8450 SoC. Best regards, Krzysztof Krzysztof Kozlowski (10): ASoC: dt-bindings: qcom,apr: Add GLINK channel name for SM8450 ASoC: dt-bindings: qcom,apr: Split services to shared schema ASoC: dt-bindings: qcom,q6afe: Split to separate schema ASoC: dt-bindings: qcom,q6apm: Split to separate schema ASoC: dt-bindings: qcom,q6adm: Split to separate schema ASoC: dt-bindings: qcom,q6asm: Split to separate schema ASoC: dt-bindings: qcom,q6prm: Split to separate schema ASoC: dt-bindings: qcom,q6core: Split to separate schema ASoC: dt-bindings: qcom,q6apm-lpass-dais: Split to separate schema ASoC: dt-bindings: qcom,q6apm: Add SM8450 bedais node .../bindings/soc/qcom/qcom,apr-services.yaml | 54 ++++++++ .../bindings/soc/qcom/qcom,apr.yaml | 119 ++---------------- .../bindings/sound/qcom,q6adm-routing.yaml | 22 +--- .../devicetree/bindings/sound/qcom,q6adm.yaml | 51 ++++++++ .../devicetree/bindings/sound/qcom,q6afe.yaml | 69 ++++++++++ .../bindings/sound/qcom,q6apm-dai.yaml | 19 +-- .../bindings/sound/qcom,q6apm-lpass-dais.yaml | 32 +++++ .../devicetree/bindings/sound/qcom,q6apm.yaml | 67 ++++++++++ .../bindings/sound/qcom,q6asm-dais.yaml | 48 +++---- .../devicetree/bindings/sound/qcom,q6asm.yaml | 68 ++++++++++ .../bindings/sound/qcom,q6core.yaml | 39 ++++++ .../sound/qcom,q6dsp-lpass-clocks.yaml | 40 +----- .../sound/qcom,q6dsp-lpass-ports.yaml | 57 ++------- .../devicetree/bindings/sound/qcom,q6prm.yaml | 50 ++++++++ MAINTAINERS | 2 +- 15 files changed, 477 insertions(+), 260 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6afe.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6core.yaml create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6prm.yaml -- 2.34.1