Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp749896ybh; Thu, 12 Mar 2020 10:25:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtMLFycP5X9/8xOxy2USWVXrTu4Q/ZMn9GWwMfNBt3zqD+0VhcPEbTX4bIASoUrIjMaRT08 X-Received: by 2002:a05:6830:22eb:: with SMTP id t11mr7708235otc.9.1584033904812; Thu, 12 Mar 2020 10:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584033904; cv=none; d=google.com; s=arc-20160816; b=PrfrnUnAN2SES4II+CcffotlEJBN5uYMAZddjsHMK/PpqPTM6xDpPalXKsSY/Chkuk szOrzXZTyDOUcMc2J8EG5lQEB3i9qBk3x9frsi04fx0G8+/GEbxeyZvLYnF6D39qFtqZ 2E6Pcv3ldSKEEfWsGJl249DGTgxJwfcRs98K7iNfNMEao2HRUkJL9jLdPbEu6JVWLWHH tAk0k+3AWGFC1O7NgcknQGWzkFGAm/yiK/j3BDthSqeIXEM3vL7pUTuQTGl8qlrQspc0 2LcOgCUUFOFZyujUjP8pIoTNYCfg77wSpfX/nZWg6gA51tvUjwB8Pz9yDrMeZDiWoovf gf3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=AsK4lZiLvTPVWly7O3MtjFY6qfzheagg9cYmbmhqOKY=; b=gZGhWzPA/KSxQaP91hJXxxE2GSav10Zdw+qnqcfpfnrDXqut5UFBcMcCfjL3TqNAPo SlgEbLXTcpgjf3Vm4DEhftXR78/0TyKMrrAVNggaTUL6srqmSHkU0PmxsPEJl6cH8Sli /yGzwMd8hdB7AfqhF9pyf//LPR/jqHNWUME68jlbmF+m+c4AHSmo8cbZlTqxv2L/WIME jsdsr5sAfstf8UqR4zjcOZci0Q16EOD6cTSEB6dPKfIEXt0PLuP2H+3aHW6LQMUQ4wCa EZ0NpwFioQVAHiM42LntD3PmJ20t4FMRDeCk/lgF+PzWAY3OugLAqwHf//ietDIr1kOy c1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nPGM5Sxv; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si2900452oia.120.2020.03.12.10.24.51; Thu, 12 Mar 2020 10:25:04 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nPGM5Sxv; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726414AbgCLRWv (ORCPT + 99 others); Thu, 12 Mar 2020 13:22:51 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:33239 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgCLRWu (ORCPT ); Thu, 12 Mar 2020 13:22:50 -0400 Received: by mail-wm1-f67.google.com with SMTP id r7so5993601wmg.0; Thu, 12 Mar 2020 10:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AsK4lZiLvTPVWly7O3MtjFY6qfzheagg9cYmbmhqOKY=; b=nPGM5SxvKf5b6JPPp18z82FgPVQEaflZ27VlAmUFrua6iJ5ra4vp4WuhpL6duNYOsG OZt0sJAFBRs34tnwiNPSNAumz2NlmxBfT0ixjWCV/2z39jvzIFlS9gPZ+8q6/PiH/Ul6 3nAyRLPlh8uAz0A1j+GhNlZ7/qAmCoqjsThw+E/n6Uojpo/9jdB4a9L6GObTE6MkBUEW 3DAdfgaFpab/HPQgrWaggLSWUokxN9gnySRkoec8/QxPfJi2zj77pvftmMQu81ycha/i 7T0BVdxox5wLeAhNlP3QboI2CpxdX/VcNcLoSqV9tIR/AHIC9AR2K843AXIXFcihgtMg aSYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AsK4lZiLvTPVWly7O3MtjFY6qfzheagg9cYmbmhqOKY=; b=rLgpEG+cFof+gUGOqBCSIwNRUXDFVQ173tCMvv9k2zNm24gUacpadrOuQ/7t9kQBch 3tsC53mqbkO5DCohFCzHaf1kSkdE6dwCrVGj4i14rxkV12ykPnlM1rSxRrOdnqKds5hc 9kfC458Hpm/PzyROPca3P5q+XftHyNCpN/o/4t/hz1g+gD8gafUZSpnRCS1LrO9rvnFQ gdqXfrH4Tt1N2xKF8vkzVU33dv+A5w/ttUEgbvJkE7SPUZOrcXaBOK1mFGnzaHfMrwg1 goj9kx5Xreo+yWMY2UJOGoQnykYzTl43DNE7pWEVplQMW2AMxYu4vttMKTlM9rOx6ETh qO/Q== X-Gm-Message-State: ANhLgQ1QzUv9+9vFBmyfwC1qR6OV4yoi338pmjEQ99ISKOyKkEMJ7Szx Qf4o5+QRlDPXwlpYMGAbVJaug1+/ X-Received: by 2002:a1c:de82:: with SMTP id v124mr5711167wmg.70.1584033768625; Thu, 12 Mar 2020 10:22:48 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id d7sm2064492wrc.25.2020.03.12.10.22.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2020 10:22:48 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: rockchip: swap clocks and clock-names values for spdif nodes Date: Thu, 12 Mar 2020 18:22:40 +0100 Message-Id: <20200312172240.21362-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200312172240.21362-1-jbx6244@gmail.com> References: <20200312172240.21362-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Current dts files with 'spdif' nodes are manually verified. In order to automate this process rockchip-spdif.txt has to be converted to yaml. In the new setup dtbs_check with rockchip-spdif.yaml expect clocks and clock-names values in the same order. Fix this for some older Rockchip models. make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/sound/rockchip-spdif.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3188.dtsi | 4 ++-- arch/arm/boot/dts/rk3288.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 24abf214a..2298a8d84 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -182,8 +182,8 @@ compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif"; reg = <0x1011e000 0x2000>; #sound-dai-cells = <0>; - clock-names = "hclk", "mclk"; - clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF>; + clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>; + clock-names = "mclk", "hclk"; dmas = <&dmac1_s 8>; dma-names = "tx"; interrupts = ; diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 485234f6a..07681f1f0 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -944,8 +944,8 @@ compatible = "rockchip,rk3288-spdif", "rockchip,rk3066-spdif"; reg = <0x0 0xff8b0000 0x0 0x10000>; #sound-dai-cells = <0>; - clock-names = "hclk", "mclk"; - clocks = <&cru HCLK_SPDIF8CH>, <&cru SCLK_SPDIF8CH>; + clocks = <&cru SCLK_SPDIF8CH>, <&cru HCLK_SPDIF8CH>; + clock-names = "mclk", "hclk"; dmas = <&dmac_bus_s 3>; dma-names = "tx"; interrupts = ; -- 2.11.0