Message ID | 20230809202343.1098425-4-bryan.odonoghue@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp39858vqi; Wed, 9 Aug 2023 15:15:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdIYjk5Q42gg1Z2t+64gdQb3BmR8/vcz8VlenzNDJsgYKWpEIRhDSjfor4lOachbIWhF3C X-Received: by 2002:a17:90a:2c0f:b0:268:10a3:ceaa with SMTP id m15-20020a17090a2c0f00b0026810a3ceaamr523979pjd.21.1691619339278; Wed, 09 Aug 2023 15:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691619339; cv=none; d=google.com; s=arc-20160816; b=CxzsWWcZhClgZsKnOMhFg/78wMrqmNL8UBm+lictb1bLM6AHbYMusSKBDe97L/1ciI F5Mtt2E4JKehO4BYTaSVELE0xEVKzsBkKHlBexP/lJGZ4hLdkLIIDNuq1P9/Vbdol1T/ 85yVhRSAwZpZWXaAPigXQxebW3eMHAFsRDH+/t1wIjyG7EEL5/cahK6Fn9biitUCqWId KKxeb/liW5/mfvPTQPX+3aVHPxrtfI/FSL/3FiJ7LIsNrp/do5FGI2xkthFHQl4cu3Qv Yo8Dc756ZKPMYTaNKoVpRpAMtLEsGwGnVZC1SVc9fG14xIVf3bnjQG6sZunbN0Zkt+ON wVTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ji2TAs4h2AQJPAHYaEnDbkiwKSG4NYhBKLiywXvqyCg=; fh=Jre+M8HnQv+dEMebWM4puuMMxrAx5K/ojGybTBbgftE=; b=Ed4CWtSVvpHAT6MjPidC2zOmfLFVEgDpQSeYU2ziAX8dF6DFkS6xpLGvcZ6zO0yk39 mmhxgOIxoCQhpmBvv338D63XJ+Ge1TwNZ+y9/Pqe55tru3+mNYrpYAm6j5HZKVG5zbeZ mYFlGMpG0/ZqYHZ7bkUv379hpOEqrSBM0tjgHdoh7Zs9hn05Q8e9Z8oZxoaJ2mx6/8TT jDI8oTbpwDU6xsvRhKR1bh4Rr+/r7IPsFRuP7j6TAkXXNz2cEUoDMO4dsET+Zuxc5v96 EUXmhlHWaX4JZa4inSFXt89ycBFypnnkNxT7xsLqu4RMcJlbl6U0GRFEkOCrCQpeKYdW WW7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZkFNndjg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a17090a68c100b00262df8f6cf2si2305275pjj.43.2023.08.09.15.15.25; Wed, 09 Aug 2023 15:15:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZkFNndjg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234394AbjHIUYC (ORCPT <rfc822;craechal@gmail.com> + 99 others); Wed, 9 Aug 2023 16:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234306AbjHIUX6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 16:23:58 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1960B211C for <linux-kernel@vger.kernel.org>; Wed, 9 Aug 2023 13:23:57 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fe12820bffso1309745e9.3 for <linux-kernel@vger.kernel.org>; Wed, 09 Aug 2023 13:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612635; x=1692217435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ji2TAs4h2AQJPAHYaEnDbkiwKSG4NYhBKLiywXvqyCg=; b=ZkFNndjgShMJ+95nsV+qJ73ey11QPtbqtiikehNw5J+nt9G7k7yb2hCNLVC6PlCrUh PzsRvgFLqEidStYW/gUG3oEGci4a8JdSDVyDkk4HYseK5RBX02ECFk7ZyPg1pz2UpJde mhW8bY1NXmZO7/KHGOuDoh93R+6zMUsnI4CglRmZY6dmpQMgvIsj9lnSKxFoPFgcctkF Wuf6VBSHKsscIUPFRO4eKjQqBW7niFYuvV3gi9yUA7a/F8QQ8LHznMYEKwAcjvK4vdCV sNYL5WWjnJEYU+zplGiVyxLZAYueFrwgbdkGQU+mTJnMhioOqoQ23p+RQV9/Dr+HWKaF +Y3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612635; x=1692217435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ji2TAs4h2AQJPAHYaEnDbkiwKSG4NYhBKLiywXvqyCg=; b=PwP3ZbAQQcB8Vh/46VTyz30qiFu8BIJlUU8XR+eY5DpNPWfhOZWDfxRLatcUdqIVCG R3div4ARdLGtMwXu5DPktGNbqazt+OWX/btyobuItb87pxnuCYpHaS61mgLH4JsOHOks /uvqD+BUZlFQsCQG9PXR4BMR3Qfa17QDRrK5Dvcbhp3AtNRvYyYhVZJHgXMS4yjs/AUd jzHHd7X12dcfAxFRFiD9Jryp6u+bemcz8PDJ/p4Y6VS5GYy0a1KFw84IX1ggVZzJdVFH d5PRNpfSK5th0DH23OSmT/GdAs+G+NXEuyYFLu5T6xEzHV24+VijROwijRPRyPEc913q S+RQ== X-Gm-Message-State: AOJu0Yw08wCSxwiq918E22fY9JKIHzSU0XpkzdvgdkDSkd7Oy4ndW/c0 fTKKPI/MNcOcIrfm0C4GSjLQJA== X-Received: by 2002:a05:600c:296:b0:3fb:ef86:e30 with SMTP id 22-20020a05600c029600b003fbef860e30mr149581wmk.10.1691612635573; Wed, 09 Aug 2023 13:23:55 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:54 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 3/6] arm64: dts: qcom: apq8016-sbc: Set ov5640 assigned-clock Date: Wed, 9 Aug 2023 21:23:40 +0100 Message-Id: <20230809202343.1098425-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773791439805334617 X-GMAIL-MSGID: 1773791439805334617 |
Series |
apq8016: camss: Update dts with various fixes
|
|
Commit Message
Bryan O'Donoghue
Aug. 9, 2023, 8:23 p.m. UTC
The driver for the ov5640 doesn't do a set-rate, instead it expects the
clock to already be set at an appropriate rate.
Similarly the yaml for ov5640 doesn't understand clock-frequency. Convert
from clock-rate to assigned-clock and assigned-clock-rate to remediate.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On 9.08.2023 22:23, Bryan O'Donoghue wrote: > The driver for the ov5640 doesn't do a set-rate, instead it expects the > clock to already be set at an appropriate rate. > > Similarly the yaml for ov5640 doesn't understand clock-frequency. Convert > from clock-rate to assigned-clock and assigned-clock-rate to remediate. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index 0481a4a82090a..ada0777567623 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -280,7 +280,8 @@ camera_rear@3b { clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; clock-names = "xclk"; - clock-frequency = <23880000>; + assigned-clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; + assigned-clock-rates = <23880000>; DOVDD-supply = <&camera_vdddo_1v8>; AVDD-supply = <&camera_vdda_2v8>;