Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2831911rwi; Sat, 15 Oct 2022 23:48:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71KSTlIvm+sl/y8hoGGFOYpQDYWolBzgiBhnRv0nB+cJ5PTBdMdoXeuGaSDp1O6zeGJGaP X-Received: by 2002:a17:907:d90:b0:78d:48b1:496d with SMTP id go16-20020a1709070d9000b0078d48b1496dmr4338084ejc.665.1665902939533; Sat, 15 Oct 2022 23:48:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665902939; cv=none; d=google.com; s=arc-20160816; b=MGgBRe+IlDa6yK6kzpMolFnn9v+1Ieb2DJsQ2xXUFSG+dsl0rWWPmD+IUB7ghybgTe 8zcKrdXMAcTbEVpW4uOvSXi2Z+crx+SckizEIt86L4h7UI8bVOeQTVXWcoejfaMnb0if V1uU56NJ7UYJtIlIIH8U8vLqZADXhNFD3HZO5fJDUTBtxwx4gpXhYhBl4G/g/AQytXF8 eUTBN3NCV+M0GDdSYUBd8UalbBMxeEus0Jq8o8CB7nhbcObQZjgoCPNqDx4sndzpEa4z errF1iFr182jvghk1aQpU0cEMqq8YuIKkBQO7SjiCodmFaliMegP2B7iHjxKrmnVSXOv E4Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=US9PhGD0EZ/GSYUx3MvJmwlkBhsahTraQEdhwHbepJY=; b=AFXLwpazTZIXQbYA9peM0pogc7NHtPN8BAvKoB0bAnfHdb77zrupcQnKViqohzksZy W5biTZQ5Rf3mLCHHzrKOfRP5Zor7lZyXNdGaTQeeb/q0VxBbbIJdrYFBAB4lcOJw/w6U KllkpzsI7qZN9sFy+q5ebnlDSLoGh1TAqTrnBvK+qSnscA7YCkHAs5WQcIOYKgP2BMNQ v9w/YqeuE+08U6sr8HPh6slasdoZslaMasRGGwRi30F5dEMaf0b/wIC70p68OfmdgtWS OLg1FSbWn/aNnBA6pNEFDYuwIwmqQrpIeQx3d3uz1BpJW6PSV8ghJtdTy65WCl2m/pvs khPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RiOtb6YP; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a25-20020a05640213d900b0045cda653974si5097642edx.210.2022.10.15.23.48.34; Sat, 15 Oct 2022 23:48:59 -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=@chromium.org header.s=google header.b=RiOtb6YP; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbiJPG3o (ORCPT + 99 others); Sun, 16 Oct 2022 02:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbiJPG3l (ORCPT ); Sun, 16 Oct 2022 02:29:41 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE5BF1056D for ; Sat, 15 Oct 2022 23:29:38 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id y5so13143246lfl.4 for ; Sat, 15 Oct 2022 23:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=US9PhGD0EZ/GSYUx3MvJmwlkBhsahTraQEdhwHbepJY=; b=RiOtb6YPC3lun87HVx86jIDNEzI86+QPB2RZuA36gBxrO3xkRw2SFk2/B3Oynd276b eHuybi15OR6AXqmNbxVhb2+AdmRHXNv8yq6lcAk1Bv1Q5lzzl6Qe27a9qJcffOQhb6gA 76N5ZygMOWs3Z4XNY0Zsk+OpgNKOX0ZVnEYXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=US9PhGD0EZ/GSYUx3MvJmwlkBhsahTraQEdhwHbepJY=; b=oUMQAr+fhTJY/vuursv7liSHZhIIFJvVW13uJBRugqb9I3Sdd0VEJCa/H6IaUrQBix lQjnSEauZj5OfDZiTtmobXiKx43BHyKREStJgqEq2wn09t0Kp1lAzI79oQI3MLZBh+NV 1K6E+0rVcUsnTRtL+F1LPj1yqbdu6hNmtaX070s+fX111nyKBtb6nEn7gDAaE91g0gxY 1s5kHI3TE78RntVQoVZunKjaIeQB16GfqD8bA9ZGM1knn3bhoJQreqhFDQHpd7NvIGl9 XqhDhQ3Clf9aEYtkHMpwTVpCn5LxNIYHDt0AglERvH8PQxMPIO/1SOw8Y5rIiYXJRFwN uX6Q== X-Gm-Message-State: ACrzQf3GS2f/ylQ9K+f8pGSfogfOEB3iqiZTjVLAYDNZ7YQ9hrTiQQHA K7j1gGrjSwscu3hGTVKtEPaU9LzFYzlc7LcETZRknA== X-Received: by 2002:ac2:50d0:0:b0:4a2:3c86:a11f with SMTP id h16-20020ac250d0000000b004a23c86a11fmr1788074lfm.253.1665901777287; Sat, 15 Oct 2022 23:29:37 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 15 Oct 2022 23:29:36 -0700 MIME-Version: 1.0 In-Reply-To: <1665820441-617-1-git-send-email-quic_srivasam@quicinc.com> References: <1665820441-617-1-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Sat, 15 Oct 2022 23:29:36 -0700 Message-ID: Subject: Re: [RESEND] dt-bindings: soundwire: Convert text file to yaml format To: Srinivasa Rao Mandadapu , agross@kernel.org, alsa-devel@alsa-project.org, andersson@kernel.org, bgoswami@quicinc.com, broonie@kernel.org, devicetree@vger.kernel.org, judyhsiao@chromium.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, perex@perex.cz, quic_plai@quicinc.com, quic_rohkumar@quicinc.com, robh+dt@kernel.org, srinivas.kandagatla@linaro.org, tiwai@suse.com, vkoul@kernel.org Cc: Ratna Deepthi Kudaravalli Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Srinivasa Rao Mandadapu (2022-10-15 00:54:01) > diff --git a/Documentation/devicetree/bindings/soundwire/qcom,sdw.txt b/Documentation/devicetree/bindings/soundwire/qcom,sdw.txt > deleted file mode 100644 > index c85c257..0000000 > --- a/Documentation/devicetree/bindings/soundwire/qcom,sdw.txt > +++ /dev/null > @@ -1,214 +0,0 @@ [...] > -- interrupts: > - Usage: required > - Value type: > - Definition: should specify the SoundWire Controller core and optional > - wake IRQ > - > -- interrupt-names: > - Usage: Optional > - Value type: boolean > - Value type: > - Definition: should be "core" for core and "wakeup" for wake interrupt. > - > -- wakeup-source: This property is removed? > - Usage: Optional > - Value type: boolean > - Definition: should specify if SoundWire Controller is wake up capable. > - [...] > diff --git a/Documentation/devicetree/bindings/soundwire/qcom,sdw.yaml b/Documentation/devicetree/bindings/soundwire/qcom,sdw.yaml > new file mode 100644 > index 0000000..bf8f6c1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soundwire/qcom,sdw.yaml > @@ -0,0 +1,185 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soundwire/qcom,sdw.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm SoundWire Controller > + > +maintainers: [...] > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + soundwire@3210000 { > + compatible = "qcom,soundwire-v1.6.0"; > + reg = <0x03210000 0x2000>; > + > + interrupts = ; > + clocks = <&lpass_rx_macro>; > + clock-names = "iface"; > + > + qcom,din-ports = <0>; > + qcom,dout-ports = <5>; > + > + resets = <&lpass_audiocc LPASS_AUDIO_SWR_RX_CGCR>; > + reset-names = "swr_audio_cgcr"; > + > + qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>; > + qcom,ports-sinterval-low = /bits/ 8 <0x03 0x3f 0x1f 0x03 0x03>; > + qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0b 0x01 0x01>; > + qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00>; > + qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>; > + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff>; > + qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff>; > + qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff>; > + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00>; > + > + #sound-dai-cells = <1>; > + #address-cells = <2>; > + #size-cells = <0>; > + > + status = "disabled"; Please omit status from the example.