Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4203208rwb; Mon, 31 Jul 2023 03:17:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlEcug6rvU3G5QtsBbkJIO+83W39amIomaPHkg9GRb0vrzLQ+dW/98ljXtAMK5OJBttmk7qR X-Received: by 2002:a17:902:c246:b0:1b1:7362:9a18 with SMTP id 6-20020a170902c24600b001b173629a18mr7235888plg.27.1690798673036; Mon, 31 Jul 2023 03:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690798673; cv=none; d=google.com; s=arc-20160816; b=S7lLrOXOG5zmoMqaHhWBduyM8gs9Vgn4aTpYB7fxkRT0j1HKtH3/eyBvwZ3dR2CHse T3Obfaz8LfPbEHcHUP6n1/KxK6aJFzb4U3JL/1pWBiTeHXwHpjrP0x8hbLcOKQMUCApb IYb0qjcNQtcey9oozJvXgCOp2FES1cv1yxOibA6sng0Jb53AIgi8sTaCNsvyFyWkPPWl evr82IsY7shVzuVwk1Ex+UIbKoexmHUvnoD2r0rwxdv4H3c8jo8zl2RkCUDu0VS27BrA NxY7r5eYdP7VyRB8EcdECTnTHFE817ge1HE2PWrG640q0flCltYQxQy2EKKAmkA8YcEz ZIMQ== 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=kdDSWpR2PwAaVc6xrPLUrP7cY8hR/WC31iRh9xFaQkU=; fh=m9X5aB0f8c38W2l9WQSH90OWHkEvKc7ayn1zeer5Giw=; b=t9zCdMO9JJkziyLwxTiR7J87ZmoTJPYg048ecxxE57xnJn8rPjdoYpJxM/+Spstx/P 1Sdl8Yr2ubWCPoc4Vhdv4KrZnNyKVUqfmM2vujJZiB40V2nBdwQEvAL6d9g4lUTgn1I2 EqYoZrkwqr0njSa3gSs8kqK3qYWD0XAJivkRvhA8bOU9lCFzbZPPPK5+8i1RwoG2gWle W6LQGaTEZJX/RTJC07dbzlUYvt+NGfWFry5qNzixEU9sLLXeyw8xra9p8pcx7Q70ilG+ VxmlKBPFxckMeYUBoZ9kMrKNuaL/kTJMhUy41ixgpfPEepG6aq0jL/Uniib4+A6G8tQO c24g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JRaT/+kf"; 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 h22-20020a170902ac9600b001b8aef27731si7119622plr.46.2023.07.31.03.17.40; Mon, 31 Jul 2023 03:17:53 -0700 (PDT) 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="JRaT/+kf"; 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 S231492AbjGaJnS (ORCPT + 99 others); Mon, 31 Jul 2023 05:43:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbjGaJnP (ORCPT ); Mon, 31 Jul 2023 05:43:15 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE11BEB for ; Mon, 31 Jul 2023 02:43:13 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fe389d6f19so867788e87.3 for ; Mon, 31 Jul 2023 02:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690796592; x=1691401392; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kdDSWpR2PwAaVc6xrPLUrP7cY8hR/WC31iRh9xFaQkU=; b=JRaT/+kfL9uh8R15DPTFuDwkvjklHTznvty/KmRSZmAoyGr1+CR9ocuL4kvmw/UjGk DJBS0rdn4ScZW5MInEzcVFhbv9GKdTDpJaBzNw0+/WzGByly5NW1xh/6u8bLsw9mtejZ +rpLlG+09SagscOFEVnloXPJDybDA5EO57eet55qG0VZVuYHDpeI8C60dzhPYcWcUpSX uW2370rK4gNIz6U2gPWBqCl5MRXooZ9CoM7efLE+ynZNjnJlunqSxScERrES7yClxhNT 37irKwNHH3pa2PC1EXEellvCP2cqF/V5/7TLqTXj/ZTgIkZtTQj025MlucYHe8QE+A1G KT3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690796592; x=1691401392; 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=kdDSWpR2PwAaVc6xrPLUrP7cY8hR/WC31iRh9xFaQkU=; b=ROIycVGLo5+ZlEGZMSF0sRlUziGD5iqfLZyYQrJ3LpqpPyZjDj0rjyI8/mXjWMpb50 CCSO6elZg4E511U7cVHWHej1twr+eV2401zniuO0jBh59oXS5W82Op20TPPk9WoBfdvt CfDYwWIlc9HpIoDRPuwtLATQMrCPSQRpYJOzEQDauU8BwdqDVfJwbmatPg8cmNOTPG+z yjhEv7txWTGN/nxe+dlbZxg+KhjrO/6+9FeYkUE/9QaNI9iK/U1/9hfWiE/bt+8olG34 iJGEnMWE0N3hL4uuvnj61WoNFLqBYQfssDgBUdA1Hb6lvHtghFPXuDSk+ljJ1svyyB4G IUQQ== X-Gm-Message-State: ABy/qLYZI4SUFDtI8EWJuSPPhj/ITNsft4M8m/P5DBl4nzbpPAqd0c6H XOVpVYe8nGLj5pG1RbcSdglBNg== X-Received: by 2002:a05:6512:1c5:b0:4f8:766f:8dc3 with SMTP id f5-20020a05651201c500b004f8766f8dc3mr4904749lfp.32.1690796591857; Mon, 31 Jul 2023 02:43:11 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.183]) by smtp.gmail.com with ESMTPSA id z17-20020a170906815100b0099bcdfff7cbsm5867547ejw.160.2023.07.31.02.43.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 02:43:11 -0700 (PDT) From: Krzysztof Kozlowski To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Matthias Brugger , AngeloGioacchino Del Regno , Sylwester Nawrocki , Jaroslav Kysela , Takashi Iwai , Shengjiu Wang , Rohit kumar , Cheng-Yi Chiang , Rao Mandadapu , Judy Hsiao , Trevor Wu , Jonathan Bakker , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 00/12] ASoC: dt-bindings: Add sound-card-common.yaml Date: Mon, 31 Jul 2023 11:42:51 +0200 Message-Id: <20230731094303.185067-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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi, Almost every board machine / sound cards has "audio-routing" and "model" properties, so we can make things simpler by introducing one common binding. It is also expected that given property has only one definition. If the patchset looks good, then the next steps will be: 1. Convert more vendor audio-routing properties to audio-routing, 2. Add dai-links children to common binding. Best regards, Krzysztof Krzysztof Kozlowski (12): ASoC: dt-bindings: amlogic,gx-sound-card: correct maxItems constraints ASoC: dt-bindings: Add common sound card properties ASoC: dt-bindings: mediatek,mt8188-mt6359: use common sound card ASoC: dt-bindings: samsung,aries-wm8994: use common sound card ASoC: dt-bindings: samsung,midas-audio: use common sound card ASoC: dt-bindings: samsung,odroid: use common sound card ASoC: dt-bindings: samsung,tm2: use common sound card ASoC: samsung: odroid: use of_property_present to check for property ASoC: samsung: aries_wm8994: parse audio-routing ASoC: samsung: midas_wm1811: parse audio-routing ASoC: samsung: odroid: parse audio-routing ASoC: samsung: tm2_wm5110: parse audio-routing .../sound/amlogic,axg-sound-card.yaml | 15 +++-------- .../bindings/sound/amlogic,gx-sound-card.yaml | 16 +++++------ .../devicetree/bindings/sound/fsl,rpmsg.yaml | 17 +++--------- .../bindings/sound/google,sc7180-trogdor.yaml | 17 +++--------- .../sound/google,sc7280-herobrine.yaml | 17 +++--------- .../bindings/sound/imx-audio-card.yaml | 18 +++---------- .../sound/mediatek,mt8188-mt6359.yaml | 17 +++++------- .../bindings/sound/samsung,aries-wm8994.yaml | 16 +++++------ .../bindings/sound/samsung,midas-audio.yaml | 16 +++++------ .../bindings/sound/samsung,odroid.yaml | 14 +++++----- .../bindings/sound/samsung,tm2.yaml | 16 +++++------ .../bindings/sound/sound-card-common.yaml | 27 +++++++++++++++++++ sound/soc/samsung/aries_wm8994.c | 10 ++++--- sound/soc/samsung/midas_wm1811.c | 10 ++++--- sound/soc/samsung/odroid.c | 15 ++++++----- sound/soc/samsung/tm2_wm5110.c | 10 ++++--- 16 files changed, 119 insertions(+), 132 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/sound-card-common.yaml -- 2.34.1