Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2172878ybh; Fri, 13 Mar 2020 14:13:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vum+2hLqJsMLnI44IekqO/PRc3WxpLyrqFNaEj41EvfZ/JwASY9uYMfMPNfpm+b7/mpcJou X-Received: by 2002:aca:f1c6:: with SMTP id p189mr8891907oih.159.1584134022861; Fri, 13 Mar 2020 14:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584134022; cv=none; d=google.com; s=arc-20160816; b=fEA81rsPkp0uRvXdf9NpZj+kSc3kSSWqUYQJM3+b50CTfo2GqxuT08CY5RChSd8jYD duPLvju1HctIhEltVnvMQAQZlOr1Hsakk8b8ZwanZfTSbWlZOzfY9pcASoxta+2Zrshj 2zaG655W03BhNN5Jr2YFlFoIpLL/NLrrBWY81qthao3O1VIwHAnd+2whUTHv4GyGI4my O8nNtXdTMSx6hrQVb/rzOvunosAa6GbDZoNjDFJaIMEd+TLrXqD4qzAyz2v72hXFhCdh fSwJfCpoD7WrcSUmImGiancrFeFAC7U8OCpYErst/ZPk+pznIlaLn3tGlulUKjAraJ4T WNtA== 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; bh=R2loVXt/SlPJw0QX27wqtylpuTljdjyPIzVJjKzcE28=; b=THGJe0S9l9N6pKzKMy+2/JRtDcnuC78U7B3EOzcIZe/pIRHDfpZHlg9txTYrp1gwYF N65ng7nIj+TFXk/tl/swHle9X3CBgYFlt2R65VZDolWD1ZFP30uLg2syDbt2WFzuhN4o mAXjNs3/N5r4+sed5OUE/8wcL9Yz5DSd2PNSV5rg9B2jmL3dGlJcRx30qIoOt7UjB/ty OtsRtxj0i2xxXxb7nupZmP6bp5c+67ItMU6eq0AmmhjZ7Vv50OiQsmmIQndwGNa0a10O h0VPfDXQiHd1fOPGpFdNNGvQHIHcgeZHxK7c7C2jlsepix/QNQcoKvXkz/PJUenXlDvp QEbA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si5146551otm.254.2020.03.13.14.13.25; Fri, 13 Mar 2020 14:13:42 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727385AbgCMVMt (ORCPT + 99 others); Fri, 13 Mar 2020 17:12:49 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:8667 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726681AbgCMVMt (ORCPT ); Fri, 13 Mar 2020 17:12:49 -0400 X-IronPort-AV: E=Sophos;i="5.70,550,1574089200"; d="scan'208";a="41620048" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 14 Mar 2020 06:12:47 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 79AFD40E09D5; Sat, 14 Mar 2020 06:12:43 +0900 (JST) From: Lad Prabhakar To: Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Rob Herring , Mark Rutland , Sakari Ailus , NXP Linux Team , Magnus Damm , Ezequiel Garcia , Laurent Pinchart , Geert Uytterhoeven Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Lad Prabhakar , Fabio Estevam , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 1/4] media: dt-bindings: media: i2c: Switch to assigned-clock-rates Date: Fri, 13 Mar 2020 21:12:31 +0000 Message-Id: <1584133954-6953-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1584133954-6953-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1584133954-6953-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use assigned-clock-rates to specify the clock rate. Also mark clock-frequency property as deprecated. Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/media/i2c/ov5645.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/ov5645.txt b/Documentation/devicetree/bindings/media/i2c/ov5645.txt index 72ad992..e62fe82 100644 --- a/Documentation/devicetree/bindings/media/i2c/ov5645.txt +++ b/Documentation/devicetree/bindings/media/i2c/ov5645.txt @@ -8,7 +8,7 @@ Required Properties: - compatible: Value should be "ovti,ov5645". - clocks: Reference to the xclk clock. - clock-names: Should be "xclk". -- clock-frequency: Frequency of the xclk clock. +- clock-frequency (deprecated): Frequency of the xclk clock. - enable-gpios: Chip enable GPIO. Polarity is GPIO_ACTIVE_HIGH. This corresponds to the hardware pin PWDNB which is physically active low. - reset-gpios: Chip reset GPIO. Polarity is GPIO_ACTIVE_LOW. This corresponds to @@ -37,7 +37,8 @@ Example: clocks = <&clks 200>; clock-names = "xclk"; - clock-frequency = <24000000>; + assigned-clocks = <&clks 200>; + assigned-clock-rates = <24000000>; vdddo-supply = <&camera_dovdd_1v8>; vdda-supply = <&camera_avdd_2v8>; -- 2.7.4