Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp542819ybh; Thu, 12 Mar 2020 06:46:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtC0Rq9xCJb+pB3K9UZVOEazb6sD6pA8ZPVQmP7u8ihnnBMe6+y++QlIIhputb0IOMUa+/4 X-Received: by 2002:a9d:282:: with SMTP id 2mr6352149otl.178.1584020816615; Thu, 12 Mar 2020 06:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584020816; cv=none; d=google.com; s=arc-20160816; b=qQj4OrijJ5OpOoBucznbPkHz1GFRFyigZFvjyf0U8DPDZm/yMoB8KUc9AXM9YPgiMp zGmXVruBqB3UNZAOA3opSwNvXGj/OwuS9z+80JsxBXWm8EgkMvZycald9FM2W57N+C+P w1p7JzJLzXQ3JfXUVSf24Ux7mVVWc8py3sES8vJ1TMTPm7FY6DeHjD/Plj7s3EHqgTPt B6Z8rFPtza7cxQmy1Qu3lJK8Rt6LpjLphjrgECDcbco2RnrbFAnraHVs3D5od7d8HEyP blSCHEeuPHtRhrrJuAYk2h8DQ5FQPR5p5hKK0t9jVYQ++hz1dMFs5QzcMF18fyRuuog9 7UNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to:subject:cc:to:from :date; bh=aCh2EqWc0CGpY0Pl6Rfv1Jd8Jd2X+Fm6a/aSLOBO7H4=; b=aRykCUZOdF78DnjaAodSO6KMe6dMEdonFS8Y9FBybl+Q6gKMLoRY8Aq7+pfDng1q4U yyBgDrXHwpswU/dranB+pwPgt0iYaAT7lWRKTx9EJCXfORsbWoGnAOaR36JeAZutIzSV P0fnc2BFU22C+savA+g+KlzGS+AH1np1qeoFtQlPC+G0lD7qJ+uNEa9hz3aVp7NI3UQk MfVYE3vhi5AHIs4X+fF+WbviuhHdFI/97xsVC8U/PoRa+sGLNxhHf0nWUP2cwGcZjzo/ s61Rl+Urqofy0kAYZy6w7JWMtBQ9VE65S2nCuw/HpccvdPDXD0pSEJdvxciI1t01MMmz CEDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w33si2625242otb.48.2020.03.12.06.46.43; Thu, 12 Mar 2020 06:46:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727434AbgCLNqQ (ORCPT + 99 others); Thu, 12 Mar 2020 09:46:16 -0400 Received: from foss.arm.com ([217.140.110.172]:35018 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbgCLNqQ (ORCPT ); Thu, 12 Mar 2020 09:46:16 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6917D30E; Thu, 12 Mar 2020 06:46:15 -0700 (PDT) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E0BC73F534; Thu, 12 Mar 2020 06:46:14 -0700 (PDT) Date: Thu, 12 Mar 2020 13:46:13 +0000 From: Mark Brown To: Rob Herring Cc: alsa-devel@alsa-project.org, Benson Leung , Cheng-Yi Chiang , devicetree@vger.kernel.org, Enric Balletbo i Serra , Guenter Roeck , Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown Subject: Applied "ASoC: dt-bindings: google, cros-ec-codec: Fix dtc warnings in example" to the asoc tree In-Reply-To: <20200311205841.2710-1-robh@kernel.org> Message-Id: X-Patchwork-Hint: ignore Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: dt-bindings: google, cros-ec-codec: Fix dtc warnings in example has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From b239d0c238126f478d2fcd26ad8ffc346547ce67 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Wed, 11 Mar 2020 15:58:41 -0500 Subject: [PATCH] ASoC: dt-bindings: google, cros-ec-codec: Fix dtc warnings in example Extra dtc warnings (roughly what W=1 enables) are now enabled by default when building the binding examples. These were fixed treewide in 5.6-rc5, but the newly added google,cros-ec-codec schema adds some new warnings: Documentation/devicetree/bindings/sound/google,cros-ec-codec.example.dts:17.28-21.11: Warning (unit_address_vs_reg): /example-0/reserved_mem: node has a reg or ranges property, but no unit name Documentation/devicetree/bindings/sound/google,cros-ec-codec.example.dts:22.19-32.11: Warning (unit_address_vs_reg): /example-0/cros-ec@0: node has a unit name, but no reg property Documentation/devicetree/bindings/sound/google,cros-ec-codec.example.dts:26.37-31.15: Warning (unit_address_vs_reg): /example-0/cros-ec@0/ec-codec: node has a reg or ranges property, but no unit name Fixing the above, then results in: Documentation/devicetree/bindings/sound/google,cros-ec-codec.example.dts:26.13-23: Warning (reg_format): /example-0/cros-ec@0:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) Documentation/devicetree/bindings/sound/google,cros-ec-codec.example.dts:27.37-32.15: Warning (unit_address_vs_reg): /example-0/cros-ec@0/ec-codec: node has a reg or ranges property, but no unit name Fixes: eadd54c75f1e ("dt-bindings: Convert the binding file google, cros-ec-codec.txt to yaml format.") Signed-off-by: Rob Herring Reviewed-by: Enric Balletbo i Serra Cc: alsa-devel@alsa-project.org Cc: Benson Leung Cc: Mark Brown Cc: Liam Girdwood Cc: Guenter Roeck Cc: Enric Balletbo i Serra Cc: Cheng-Yi Chiang Link: https://lore.kernel.org/r/20200311205841.2710-1-robh@kernel.org Signed-off-by: Mark Brown --- .../bindings/sound/google,cros-ec-codec.yaml | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml index 94a85d0cbf43..c84e656afb0a 100644 --- a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml +++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml @@ -44,19 +44,24 @@ additionalProperties: false examples: - | - reserved_mem: reserved_mem { + reserved_mem: reserved-mem@52800000 { compatible = "shared-dma-pool"; - reg = <0 0x52800000 0 0x100000>; + reg = <0x52800000 0x100000>; no-map; }; - cros-ec@0 { - compatible = "google,cros-ec-spi"; - #address-cells = <2>; - #size-cells = <1>; - cros_ec_codec: ec-codec { - compatible = "google,cros-ec-codec"; - #sound-dai-cells = <1>; - reg = <0x0 0x10500000 0x80000>; - memory-region = <&reserved_mem>; + spi { + #address-cells = <1>; + #size-cells = <0>; + cros-ec@0 { + compatible = "google,cros-ec-spi"; + #address-cells = <2>; + #size-cells = <1>; + reg = <0>; + cros_ec_codec: ec-codec@10500000 { + compatible = "google,cros-ec-codec"; + #sound-dai-cells = <1>; + reg = <0x0 0x10500000 0x80000>; + memory-region = <&reserved_mem>; + }; }; }; -- 2.20.1