Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5783330ybc; Wed, 27 Nov 2019 09:20:47 -0800 (PST) X-Google-Smtp-Source: APXvYqz7dOgmJbiVX9gC40GZS4fyCRht3EWiDpBDh+jJMOzLI1GC21x7aCJRfrPUIkNwkPQUJl7Z X-Received: by 2002:a05:6402:13d4:: with SMTP id a20mr33393569edx.105.1574875247471; Wed, 27 Nov 2019 09:20:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574875247; cv=none; d=google.com; s=arc-20160816; b=xFRpm8HUQ21MyrD1yJKXtA+RupEjK3I3swwDrbBscCakqJKrvrraAWGYHBKBRNwwZh cXmMT7HJvgxdMhOfX2DHTSiZt/IBZev8W2/2LqkUMyvpoxB31tWHPCuJvDlPKKWx3hH3 8u5QKy7UDtNssWVWmOEDu/6+HgYwiqWrP29mHk2qkvkmUaAnXNjbBO4rpplmS93bUwjz 8ywooF0L0arH1XCPN3ufC8irLdK8Mf2jYkp3nU1Z+sg5bGwHDGrVQB7xeD8dEakeswQq 2mmICRJgxveXZpdQy0V+2stR9+l5amIzKonsrhgsT9DH6u7nxEew8kOFfj/tE3YafhxQ 21UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=Qm4Bp6xEH4gzTSGf8XJZFyOKVD9Yc5lDueukFVsJXso=; b=Q3Z1OUaaotVxXa/vG4/VqgjXeQIuwm4qsA5gS1DbCYKN0QEp7OCfDrBUmZezdwqi7T 2tesQBvYUpzGByZtbvpz3d8kaQM31UvqQU4jc6o1QP9Jx8qyUM+2mGLvJDvgoe0vy68W cdE7eH191V/OtdMYsF8hHPpHhqVJ+6nBY0Cq5tXNElL/QU/VIhNR1rujJmttMJg48LPy 1plt6JONO4cI3WjAv2gcRgIalJKyZxdKPlxPTPS4qrI4QGOxKi1YBaT6i8YeBsFMtM/X VsN/NEPK2MsctQ4apQBxiWiq/ADqTX6AHAGcJuzpzABHnb7lKe+AjyD8eDnwO8raIyTQ u0XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=Mi2dC0jl; 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h49si11162190edh.2.2019.11.27.09.20.23; Wed, 27 Nov 2019 09:20:47 -0800 (PST) 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=fail header.i=@crapouillou.net header.s=mail header.b=Mi2dC0jl; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbfK0RTS (ORCPT + 99 others); Wed, 27 Nov 2019 12:19:18 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:57226 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbfK0RTS (ORCPT ); Wed, 27 Nov 2019 12:19:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1574875156; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qm4Bp6xEH4gzTSGf8XJZFyOKVD9Yc5lDueukFVsJXso=; b=Mi2dC0jlfct8iYYCs7ItSb/0U2+YIl19k4On1OhvNLogkankzwOreiyd7g0mcWHjxkDyEx g01ky6cTtGskvSI9EM/3RkMVmo0C+W3Yg+nEBki/9budh5NsuUBLaXdNyRqgQK0rONa7Er HTeoT02ffCoO5+/1x/I2Wzlu90rJ2MM= Date: Wed, 27 Nov 2019 18:19:08 +0100 From: Paul Cercueil Subject: Re: [PATCH 4/5] dt-bindings: clock: Add USB OTG clock for X1000. To: Zhou Yanjie Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, mark.rutland@arm.com, syq@debian.org, sernia.zhou@foxmail.com, zhenwenjin@gmail.com Message-Id: <1574875148.3.3@crapouillou.net> In-Reply-To: <1574825576-91028-5-git-send-email-zhouyanjie@zoho.com> References: <1574825576-91028-1-git-send-email-zhouyanjie@zoho.com> <1574825576-91028-5-git-send-email-zhouyanjie@zoho.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zhou, Le mer., nov. 27, 2019 at 11:32, Zhou Yanjie a=20 =E9crit : > Add the USB OTC clock bindings for the X1000 Soc from Ingenic. >=20 > Signed-off-by: Zhou Yanjie > --- > include/dt-bindings/clock/x1000-cgu.h | 23 ++++++++++++----------- > 1 file changed, 12 insertions(+), 11 deletions(-) >=20 > diff --git a/include/dt-bindings/clock/x1000-cgu.h=20 > b/include/dt-bindings/clock/x1000-cgu.h > index bbaebaf..c401fce 100644 > --- a/include/dt-bindings/clock/x1000-cgu.h > +++ b/include/dt-bindings/clock/x1000-cgu.h > @@ -29,16 +29,17 @@ > #define X1000_CLK_MSCMUX 14 > #define X1000_CLK_MSC0 15 > #define X1000_CLK_MSC1 16 > -#define X1000_CLK_SSIPLL 17 > -#define X1000_CLK_SSIMUX 18 > -#define X1000_CLK_SFC 19 > -#define X1000_CLK_I2C0 20 > -#define X1000_CLK_I2C1 21 > -#define X1000_CLK_I2C2 22 > -#define X1000_CLK_UART0 23 > -#define X1000_CLK_UART1 24 > -#define X1000_CLK_UART2 25 > -#define X1000_CLK_SSI 26 > -#define X1000_CLK_PDMA 27 You can't do that. These macros are ABI now, since they are used in the=20 devicetree. Just use the next valid number for your OTG clock. Cheers, -Paul > +#define X1000_CLK_OTG 17 > +#define X1000_CLK_SSIPLL 18 > +#define X1000_CLK_SSIMUX 19 > +#define X1000_CLK_SFC 20 > +#define X1000_CLK_I2C0 21 > +#define X1000_CLK_I2C1 22 > +#define X1000_CLK_I2C2 23 > +#define X1000_CLK_UART0 24 > +#define X1000_CLK_UART1 25 > +#define X1000_CLK_UART2 26 > +#define X1000_CLK_SSI 27 > +#define X1000_CLK_PDMA 28 >=20 > #endif /* __DT_BINDINGS_CLOCK_X1000_CGU_H__ */ > -- > 2.7.4 >=20 >=20 =