Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5589350rwb; Wed, 9 Aug 2023 06:32:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2BVFABpqRKCkjGKUrwU5xudSurcjJanEoaP9TRrce/ipwm/OTHp83UwtfDkKxCprFH5hi X-Received: by 2002:a17:906:311a:b0:994:673:8af6 with SMTP id 26-20020a170906311a00b0099406738af6mr2225248ejx.29.1691587923620; Wed, 09 Aug 2023 06:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691587923; cv=none; d=google.com; s=arc-20160816; b=xtPPuPcKGnqOSJqfSehqQ2Bt8lkA/wMWgVJkNN9W/NXH7oRLA7s+rZZa0R65Bmm5WU Yb5pqE5MOro1JgAbGwAQfTZpbnGbsCFAJpvaqFOZrCky/QbMGIMvvljNWQIVvBrJ9bd2 R4iGjvogHJoUkvfoqlRz/ncrVOnEFJGOKfARpp7RjKmolf31/MwKtpbr2/RmQmRzGWj2 WSnV+DtZ8S4omJYQIFfEaujms/2thbsK6CVxHTTFQDFu5mO6tt2ed1LuMm0qZZGthM5X kGcr6hEI8rRhFbLfyRe5DvnSJ27tduQP19qaVnF86UoP2NHWY7CvTWNtZeAiKhOs3Arh xmeQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020a17090668d000b0099cd8eab16csi4660841ejr.559.2023.08.09.06.31.38; Wed, 09 Aug 2023 06:32:03 -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 S232566AbjHIMEs (ORCPT + 99 others); Wed, 9 Aug 2023 08:04:48 -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 ); 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 ; Wed, 9 Aug 2023 05:04:41 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fe24dd8898so57201285e9.2 for ; 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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>; -- 2.39.2