Message ID | 20230809120432.1036405-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:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2776365vqr; Wed, 9 Aug 2023 05:51:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGw4f8OE8gFYURsoK4I73FmhwWV354bRQyg7BmJtX6OhFnfpHYh5oZKkdc2Tlt9Rdo2Wqv X-Received: by 2002:a05:6358:52d3:b0:13a:2d76:e6dd with SMTP id z19-20020a05635852d300b0013a2d76e6ddmr3265145rwz.31.1691585484985; Wed, 09 Aug 2023 05:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691585484; cv=none; d=google.com; s=arc-20160816; b=rMW+q19soetLtjesRujuLmYkj5XT/l0saLuy7OtB97/TS8bfghFZtQkQ76ODl3HIsV Gi7CAbHz9d+ls5YPrYSFLu5owZT9ncI7BwxOGGefrwTam2mMKJyu8+ZzfMXwoQtK8gtc phe/yrS4Qw9/5oqeSFM30p3zXMapf3ODWUSBO9EWQiF7/vDGV407/EayeFADd45pV/ax j/XMAxRElPf0ZkIdDipjbKR/GwkxZMmYonkRZN7nlWGf8rVB9tjP0iNoXOJV0tcf0uns XJBDjGeCvMu0zq8+71fs2HH188JqNTNnAuPfQkMoREDoE3L3r8Mtavp6zcQlmSfrCsF/ 6dPA== 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=Wms7xT4i0twzwxiWILvAnB1Ebwaii9/Z5HwWi1uaXR9x8x4oDPpiedn2PfW0ApfaOs 9r/TExSMDgbJk7Tc7AXX3XJjEj3Ov9Aj+1d0CDP1q+gTFSvJEeYEMcswq2RAL6BGBP+U 3vAEGkEKLAyVnP8HXsgpLozyhtD0Bhs00CjvPCqpgiedtGfouJx0q2JjMV3SJZqU8GE6 W7kzqhCmqf/r22OsbYfNGccutW+YOOX2xHfMvcJDNwcJutAXlRWCukx2ArD8JjUUV3i3 XeHFX6GFrfdIM7waq7nkVd7JhkHzmf9s4Extx9MujwwaBcbv0Uxd61Jg4EGGpq0vDnqT xERw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YZ4CjB49; 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 n184-20020a6340c1000000b00553e8d95742si9098877pga.654.2023.08.09.05.51.11; Wed, 09 Aug 2023 05:51:24 -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=YZ4CjB49; 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 S232608AbjHIMEt (ORCPT <rfc822;aaronkmseo@gmail.com> + 99 others); Wed, 9 Aug 2023 08:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232437AbjHIMEn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 08:04:43 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5EF81728 for <linux-kernel@vger.kernel.org>; Wed, 9 Aug 2023 05:04:41 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fe24dd8898so57201285e9.2 for <linux-kernel@vger.kernel.org>; Wed, 09 Aug 2023 05:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691582680; x=1692187480; 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=YZ4CjB494LU3Ifi3LjUMaer/gztQyCovML4j3ReYsyCH7ttR2ffzMWiaEJQkYRRl/w XkxhsmFEvRfkhUcnd/POOABrM6P7GZOEnPGSx2bir23lQbDuzQwAT76xgoXRsjwi6P2x yr5/K4yGkmzrRQqP8ie7R8/1IWfHLcrhKpgr211/wgle4D5FiiDBuSWltI3r2P1uT5fg gn915JwRGM3AH3jOjQPdu7AgdCx5tbttaRfnBlkb+Ug8wZSMA0RM/NDBHe8e6cEl/1K9 OVdBKU+s6VOCtGSoFwLuePVpb0pZMniEdfnMlVujvKfHKqJX4EQNza805O+5M1bp1Zyn VjCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691582680; x=1692187480; 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=Ys170z1rB9Lj01twU50g11XkKoXPx9QOoub+8Lv/W6NXmSedxDp7B1TzoJujef/Vn1 JDzvbtqzIBGwjIid+wT5QX3yL5iVR2nY2sXAOqQ7fLy8KgGBLtLwMXjxLQ4wkFPlC2/V ULwpu/+KkK63QLf5gHvo+NL3A+DmgtVQ1+nFh5et6uyfSTAZHD5w/s520cJ85y8F4wY4 vGqnJocpFBW0fzZCQaHXv2a0MAT1Y8FV3k9CI6wUSLhZFjgsQUXo3y2GUnqdoGo0ZMoS eM+aAcLysVPqklhLdMyHaA5xFB3Qqvzul5voyAi8rLE4LuYsmFp27jtq20cZcURWoixf Yrfw== X-Gm-Message-State: AOJu0Yxw6dAivYMFrPkcj7deTc8GFVdmRqMFUp5xoHaWskiCyvZ4ODLs QSzPsgA5v5xsWkq7j4wh/5P31Q== X-Received: by 2002:a7b:c449:0:b0:3fe:1923:2c3 with SMTP id l9-20020a7bc449000000b003fe192302c3mr1837756wmi.30.1691582679661; Wed, 09 Aug 2023 05:04:39 -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 b13-20020a05600c11cd00b003fe1a96845bsm1808573wmi.2.2023.08.09.05.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 05:04:38 -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 3/7] arm64: dts: qcom: apq8016-sbc: Set ov5640 assigned-clock Date: Wed, 9 Aug 2023 13:04:28 +0100 Message-Id: <20230809120432.1036405-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809120432.1036405-1-bryan.odonoghue@linaro.org> References: <20230809120432.1036405-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: 1773755941528755521 X-GMAIL-MSGID: 1773755941528755521 |
Series |
apq8016: camss: Update dts with various fixes
|
|
Commit Message
Bryan O'Donoghue
Aug. 9, 2023, 12:04 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(-)
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>;