Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp264527rwl; Wed, 9 Aug 2023 14:17:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSKUSGbwvL4TIDSC44Um8HuAvNeXThrqEHsx3XeFqZShjLcfFjinMODemFZaReWevOEWAY X-Received: by 2002:a05:6a00:18a9:b0:687:8d09:43ad with SMTP id x41-20020a056a0018a900b006878d0943admr450677pfh.28.1691615838351; Wed, 09 Aug 2023 14:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691615838; cv=none; d=google.com; s=arc-20160816; b=At1i5uBCTePSw9iOaxF9zIEnR9Sgt2TORMEnfH0tSw3aGjDRBpwleJGEUu8TIcjh22 nxz8vAZmJUSqTBOoxL2Cfps/TeR2QOmM2BPP7XGn/hGX7/TNTQXxdMKFrzoKlkZkJElG I8vuu17z0lLCJW1BUyIuvrcHHg3PlMmYxK5oURUiNzIjJx6V7afVBKj+eD/5p6S1WeCn 3VBu5O8B7sjYVboC0ly0/QjnLVYqbHkgGfoZUNz7hTWsmz8pFKxnLHNYproP5LM9IDAw X2E45HS+TfO7111drfEFNmdYdpaula3zpkpEl/bEk1EZO2dA79i03cC7O/kGpkrtsZWP 3z3A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a63c14d000000b0055c786fbccesi92300pgi.157.2023.08.09.14.17.06; Wed, 09 Aug 2023 14:17:18 -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 S234378AbjHIUYC (ORCPT + 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 ); 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 ; Wed, 9 Aug 2023 13:23:57 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fe12820bffso1309745e9.3 for ; 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 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: 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