Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp329908ybl; Tue, 7 Jan 2020 20:26:16 -0800 (PST) X-Google-Smtp-Source: APXvYqySyk68Bp9EY6rI8ZlDyjmuAQ+m8zQHqmDTkEgXy1/IKoz/Bo6lsI3vrQCcY67sGiEXReL9 X-Received: by 2002:aca:3f54:: with SMTP id m81mr1476856oia.73.1578457576800; Tue, 07 Jan 2020 20:26:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578457576; cv=none; d=google.com; s=arc-20160816; b=TTvKs3EJzD+go7//PtpkYnXBmhf+rgPTSWO3OFWHVftZ1iWOibosFvJc+A89NFEU+O IjUNns72LUvGQgPPN1Ry6xRtPpzN+OE9tkIz/+r4embwOUUWVGbpXOM25EGwDA6QtFXf 1KGufc6CqhZ72L2Dfthw8jnYG08Y27aruFh2UIlpOL8Ui6pwPic2mggBlZjSoJrpB3ND rRvN1uUZHnmwysQeDfz/m/DoC6q8TfUOoJhoAxl+w1x6tvaFwr6cBFEqhZadTMgvQDX2 qj1UuvRoxfihHQpCwM2yUkdwT2S0OayuQ8BjtLthLupDg58j6TpYmAU1KCkCTiP9h5Cb dmyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=fz0oIBleYHAc98+TeBIodQTdGZvMElQMohnHQMAvR/Q=; b=U2isfv8/GBjlxDPouTDLKXz47OXqliO5sGuK2nrvenf7oz6PftDi0sNAluBsCyVj6E AiOZS95HfxXe3uuhpTRNbJ5SMYT0lMqRzQoIa3s4XxxK7vtFdORxAoiPL5QM/iggtqlE 7k3tNTiF7NbkUU30ITWY8R4VEKBx9zz6HxnESsJ8wA2NKPrBnLwqJtChcQgF0RTdZILp hKpPJQ4cyFHs7Xo49hSg1+ha1RKBwJdhLjZgThh5+sPomWuBOosBPydCoWRCNQ+Ope0F /iRgeWp2K23bCWKv7pttmBU0vUjZdWLnu4Rs4u2T6HVW/4fsCe5r8TmdZpOmkl1LO73A 1NTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=cHYk+eN9; 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=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si1159445oiy.102.2020.01.07.20.26.04; Tue, 07 Jan 2020 20:26:16 -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=pass header.i=@nvidia.com header.s=n1 header.b=cHYk+eN9; 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=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726813AbgAHEZY (ORCPT + 99 others); Tue, 7 Jan 2020 23:25:24 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:12474 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbgAHEZX (ORCPT ); Tue, 7 Jan 2020 23:25:23 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 07 Jan 2020 20:25:05 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 07 Jan 2020 20:25:22 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 07 Jan 2020 20:25:22 -0800 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 8 Jan 2020 04:25:22 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 8 Jan 2020 04:25:21 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.162.131]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 07 Jan 2020 20:25:21 -0800 From: Sowjanya Komatineni To: , , , , , , , , , , , , CC: , , , , , , , , , , Subject: [PATCH v7 01/21] dt-bindings: clock: tegra: Change CLK_M_DIV to OSC_DIV clocks Date: Tue, 7 Jan 2020 20:24:55 -0800 Message-ID: <1578457515-3477-2-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578457515-3477-1-git-send-email-skomatineni@nvidia.com> References: <1578457515-3477-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1578457505; bh=fz0oIBleYHAc98+TeBIodQTdGZvMElQMohnHQMAvR/Q=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=cHYk+eN96v+MDW+I0GCSkoag2k3iKax2YtmQR1KSpKcMiZ3SXd46tPLDKCHvFgOmP 6E9dMh13CTrSiJxRjXZihs4dPkdg7O2piaMwkx55YdBozLXY9B0pFyrD3bIdh1poPQ xUX4x3HNnoraYanaRDVDYk25l9Nir/iDTcgAWXayAheH+yhTV69GVicN6DpbaqWAuF WJhJtehlGmGNLp+lLDqAiXWaWv8nVKqJgG1fyt7bm24mFJqg0bkJqE5PfGHi+gs4gC LnMuYdMEhx71R/FrRtAULPzGhJl8m+1O/bwjO3wpKQObyRylxn6yhjx8gwOTZBbSKZ BwdK1NBLUQT8w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra has no CLK_M_DIV2 and CLK_M_DIV4 clocks and instead it has OSC_DIV2 and OSC_DIV4 clocks from OSC pads. This patch changes CLK_M_DIV2 and CLK_M_DIV4 clock ids to OSC_DIV2 and OSC_DIV4 clock ids for Tegra30 through Tegra210. Tested-by: Dmitry Osipenko Reviewed-by: Dmitry Osipenko Acked-by: Rob Herring Signed-off-by: Sowjanya Komatineni --- include/dt-bindings/clock/tegra114-car.h | 4 ++-- include/dt-bindings/clock/tegra124-car-common.h | 4 ++-- include/dt-bindings/clock/tegra210-car.h | 4 ++-- include/dt-bindings/clock/tegra30-car.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/dt-bindings/clock/tegra114-car.h b/include/dt-bindings/clock/tegra114-car.h index bb5c2c999c05..f4880959b094 100644 --- a/include/dt-bindings/clock/tegra114-car.h +++ b/include/dt-bindings/clock/tegra114-car.h @@ -226,8 +226,8 @@ #define TEGRA114_CLK_FUSE_BURN 199 #define TEGRA114_CLK_CLK_32K 200 #define TEGRA114_CLK_CLK_M 201 -#define TEGRA114_CLK_CLK_M_DIV2 202 -#define TEGRA114_CLK_CLK_M_DIV4 203 +#define TEGRA114_CLK_OSC_DIV2 202 +#define TEGRA114_CLK_OSC_DIV4 203 #define TEGRA114_CLK_PLL_REF 204 #define TEGRA114_CLK_PLL_C 205 #define TEGRA114_CLK_PLL_C_OUT1 206 diff --git a/include/dt-bindings/clock/tegra124-car-common.h b/include/dt-bindings/clock/tegra124-car-common.h index 0c4f5be0a742..e7e601a88d3d 100644 --- a/include/dt-bindings/clock/tegra124-car-common.h +++ b/include/dt-bindings/clock/tegra124-car-common.h @@ -225,8 +225,8 @@ #define TEGRA124_CLK_FUSE_BURN 199 #define TEGRA124_CLK_CLK_32K 200 #define TEGRA124_CLK_CLK_M 201 -#define TEGRA124_CLK_CLK_M_DIV2 202 -#define TEGRA124_CLK_CLK_M_DIV4 203 +#define TEGRA124_CLK_OSC_DIV2 202 +#define TEGRA124_CLK_OSC_DIV4 203 #define TEGRA124_CLK_PLL_REF 204 #define TEGRA124_CLK_PLL_C 205 #define TEGRA124_CLK_PLL_C_OUT1 206 diff --git a/include/dt-bindings/clock/tegra210-car.h b/include/dt-bindings/clock/tegra210-car.h index 44f60623f99b..6f65c14bf013 100644 --- a/include/dt-bindings/clock/tegra210-car.h +++ b/include/dt-bindings/clock/tegra210-car.h @@ -260,8 +260,8 @@ #define TEGRA210_CLK_FUSE_BURN 231 #define TEGRA210_CLK_CLK_32K 232 #define TEGRA210_CLK_CLK_M 233 -#define TEGRA210_CLK_CLK_M_DIV2 234 -#define TEGRA210_CLK_CLK_M_DIV4 235 +#define TEGRA210_CLK_OSC_DIV2 234 +#define TEGRA210_CLK_OSC_DIV4 235 #define TEGRA210_CLK_PLL_REF 236 #define TEGRA210_CLK_PLL_C 237 #define TEGRA210_CLK_PLL_C_OUT1 238 diff --git a/include/dt-bindings/clock/tegra30-car.h b/include/dt-bindings/clock/tegra30-car.h index 3c90f1535551..907a8a04c280 100644 --- a/include/dt-bindings/clock/tegra30-car.h +++ b/include/dt-bindings/clock/tegra30-car.h @@ -194,8 +194,8 @@ #define TEGRA30_CLK_TVO 169 #define TEGRA30_CLK_CLK_32K 170 #define TEGRA30_CLK_CLK_M 171 -#define TEGRA30_CLK_CLK_M_DIV2 172 -#define TEGRA30_CLK_CLK_M_DIV4 173 +#define TEGRA30_CLK_OSC_DIV2 172 +#define TEGRA30_CLK_OSC_DIV4 173 #define TEGRA30_CLK_PLL_REF 174 #define TEGRA30_CLK_PLL_C 175 #define TEGRA30_CLK_PLL_C_OUT1 176 -- 2.7.4