From patchwork Wed Nov 14 10:39:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10682335 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 320FC14BA for ; Wed, 14 Nov 2018 10:39:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 246B42B2CF for ; Wed, 14 Nov 2018 10:39:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16D862B2D9; Wed, 14 Nov 2018 10:39:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E60A52B2CF for ; Wed, 14 Nov 2018 10:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732295AbeKNUmd (ORCPT ); Wed, 14 Nov 2018 15:42:33 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40133 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731746AbeKNUmd (ORCPT ); Wed, 14 Nov 2018 15:42:33 -0500 Received: by mail-pf1-f196.google.com with SMTP id x2-v6so7704500pfm.7 for ; Wed, 14 Nov 2018 02:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=OM1h8RLKMaTSl+4WPqfsrJv64qiH5E4qocw+dALFqNU=; b=kIXlxZuOIgnlUEDi+YvKlaMxvH0DjZA0ifPLve5ohrGyYuxz/mVluaV5wt3ogQ4PgW 6O9EP9YqraYTglnwCXAiPGcftC5zJjm6RUepPR9J1h2dKnkxghsjXQIa8GswaOMDmxuZ grTjxpZcDvVc7joKcvcmX6vaT6skpT3yC4xg0= 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; bh=OM1h8RLKMaTSl+4WPqfsrJv64qiH5E4qocw+dALFqNU=; b=KGMSWY07G0sw9ehVv5SzDxQTuGORGQGCT8ChFS/E5HUV1GY/4H04dwnL34GtZcqGKn nGrBX9GN9YknujSjms7r8C+2315WDl2fJtgUtKaA2nIAf8wHn/URRsKILflVGKOFJUvg o4mnEsz1KngUPoi+0rlClpPE6yB9U9+TSXWJwkuZ7zo5rQrZ452k1AhjZGL8b9j22wCU 5c8JKgs+hkJNYTX1a+gU3nyLiazOhsV1VVzlFQ0LwVkgR0Dvj65lbD/P+rfDe3N1v7Vw 4+4FOp69C5/6kJeaG8A7Fan9G1eSSy47RFMqgbq4PTb1ECl2+bLJjb0SDXkNYMuvawdy KI0Q== X-Gm-Message-State: AGRZ1gKXBN5k6gADAFARMVJPmTFjmDELCfJotx8Xdgdaeztj+fRenTYf ydz2D2pDKI02efQuIqw+e3dO X-Google-Smtp-Source: AJdET5f2CmIING92NP+YuNyXJPzSPmPaeH5EznIodjn1F+lu2362/tS/gQ9y4YzxdbK8QcSzEVm9kA== X-Received: by 2002:a62:5210:: with SMTP id g16-v6mr1391945pfb.256.1542191991903; Wed, 14 Nov 2018 02:39:51 -0800 (PST) Received: from localhost.localdomain ([2405:204:734f:c50:bc03:daf0:c43c:4a59]) by smtp.gmail.com with ESMTPSA id b2sm15028270pfm.3.2018.11.14.02.39.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 02:39:51 -0800 (PST) From: Manivannan Sadhasivam To: mchehab@kernel.org, robh+dt@kernel.org, todor.tomov@linaro.org, hansverk@cisco.com Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH] dt-bindings: media: i2c: Fix external clock frequency for OV5645 Date: Wed, 14 Nov 2018 16:09:35 +0530 Message-Id: <20181114103935.24559-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit "4adb0a0432f4 media: ov5645: Supported external clock is 24MHz" modified the external clock frequency to be 24MHz instead of the 23.88MHz in driver. Hence, make the same change in corresponding bindings doc and mention the acceptable tolerance. Signed-off-by: Manivannan Sadhasivam --- 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 fd7aec9f8e24..b155583469a4 100644 --- a/Documentation/devicetree/bindings/media/i2c/ov5645.txt +++ b/Documentation/devicetree/bindings/media/i2c/ov5645.txt @@ -8,7 +8,8 @@ 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: Frequency of the xclk clock. Should be 24MHz with 1% + acceptable tolerance. - 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 +38,7 @@ Example: clocks = <&clks 200>; clock-names = "xclk"; - clock-frequency = <23880000>; + clock-frequency = <24000000>; vdddo-supply = <&camera_dovdd_1v8>; vdda-supply = <&camera_avdd_2v8>;