From patchwork Thu Mar 28 15:19:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13608723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00762C54E67 for ; Thu, 28 Mar 2024 15:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/bGs0hCWmjeURlRpXIVtUa3/aNJHwYVC2212VfGSzvU=; b=j7K/18K9JzR5GK uX5HOQhq6e9DnYSwQEvW7TjE2eGRLFfoXlF1MMHPbIdiTOQ4+2I77zEUezpjZbTK7zSp5deDFF0hM GbpI7mDrVYt/wCrKSpG9WIBlDo/QwLFPEbtm0Nu8usCNQTlnjNzAy7CYkqHX1uhgoPnoYZmEYgOb3 QYmz/bRSNOmm4y8yPIBmjnKoafer1tlihgGIGeSHlBtUS2mnCMbArrLbVoT/jYHEZX9nYyeI+QUg5 LEoWtSPoS2E0iWwUQ/ubO8QCqvAwM7tMdAr7+2O7QHrNu9TIqQMi+zJdT2JOVr3K79IXEHBHFM/Yq eSUGtxty4FgqZDhklxcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rprYE-0000000EUfm-3d91; Thu, 28 Mar 2024 15:20:22 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rprYB-0000000EUdT-3O4k for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2024 15:20:21 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6e694337fffso253115b3a.1 for ; Thu, 28 Mar 2024 08:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711639218; x=1712244018; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VDlh8QZOxfzH7OHKeOlQuBivsfBTWU+c4hMjaVYdeSo=; b=NUTPhDZZUqglUUZuLJmLgKZBrnRQP4l//rxeYksEGb1IoXVM2nlZUa4ZyvuE1Q9ZyM PJMtzZXicITENdiNhBslUEs6054KNNBVScr8UAsjt2KT6gZ1oBndhEseWDENlCvGj7BE O7s61ye3As2PaiEIDsQ1k7qIMDcllLRN+EgaH0gxfamBujiuU3G/kurN+RmLcwN4juxa tqrDvq1HyE2xTkMI166jU292kapgB++SKEPg4Aw/GLTZFpk9SpjDq7hRLoMsSsiK+txd Vxenl9bnTwQ9EDPgx1riCT8otrVDytfimWJLZX54KqDLHtP2eYftWlOdV2l3Do2lUMm8 TmEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711639218; x=1712244018; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VDlh8QZOxfzH7OHKeOlQuBivsfBTWU+c4hMjaVYdeSo=; b=mSHZp+LWPc0AKTcVHRIDfTYxCyP0T8u3hYFnQ6Zsy1+eCWOCvV+y1OaLEXlafVTovW h8tHt07tzIqqW4LECMGofT58cJP7vjJYqFzZuGiK36MzZi89TKkfBK1m9DslKJx7jhyA TH+Tn0T7/2tF1O4kaEb+wL5fvKbB75RLIfYcXyIDCLPkcBTdnddLfhixfntpd3MgWxNX wakYrqKtQgYjXKfI6fmFwEFkBNhUMm4c4sttN1Hx7z1Qvf36QOegLYb8lQmrVUmmCYkx gkzy00uzxj/cWAKGZm5bHTddI26LeZv48Tsjtg1jBatmkiKc3dwk8VzppzPDfFZZ2khH z0rg== X-Forwarded-Encrypted: i=1; AJvYcCUbCkmG+oz7a2DZdue6e4f+3PuLQ+FbgoOuSNLA136jNcD8cp1hmBYaerGiNI6rH1Qrf7b8hzcRbFuFyumCol7x5m6hyWabjVSeuGECEdT1vZs/Z9c= X-Gm-Message-State: AOJu0YzHZnAyicUJohGZvhmcisvgR5HELSQvjaeaUagtFVtGwQQM29xw lhVq2ic9QzoxQ2U8zQGcX+oPLa1QfA+f7eAnF4Q5Z57jCwqQ7xP1Q/2oFFxQ X-Google-Smtp-Source: AGHT+IHX3RYb+V0FstTFGsMqchayvFhdq4FA1/ADFGTZbNSW5ZMHVQdXk5BUBR3XJRufLE9pJf5xTQ== X-Received: by 2002:a05:6a00:4f96:b0:6e7:7bd3:f69a with SMTP id ld22-20020a056a004f9600b006e77bd3f69amr3539359pfb.2.1711639218405; Thu, 28 Mar 2024 08:20:18 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:918f:1fce:e47c:7f91]) by smtp.gmail.com with ESMTPSA id w8-20020a056a0014c800b006eac4b45a88sm1529251pfu.90.2024.03.28.08.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 08:20:17 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: sakari.ailus@linux.intel.com, hdegoede@redhat.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Fabio Estevam , stable@vger.kernel.org Subject: [PATCH] ARM: dts: imx7s-warp: Pass OV2680 link-frequencies Date: Thu, 28 Mar 2024 12:19:54 -0300 Message-Id: <20240328151954.2517368-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240328_082019_955058_6F7C1D4F X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam Since commit 63b0cd30b78e ("media: ov2680: Add bus-cfg / endpoint property verification") the ov2680 no longer probes on a imx7s-warp7: ov2680 1-0036: error -EINVAL: supported link freq 330000000 not found ov2680 1-0036: probe with driver ov2680 failed with error -22 Fix it by passing the required 'link-frequencies' property as recommended by: https://www.kernel.org/doc/html/v6.9-rc1/driver-api/media/camera-sensor.html#handling-clocks Cc: stable@vger.kernel.org Fixes: 63b0cd30b78e ("media: ov2680: Add bus-cfg / endpoint property verification") Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx7s-warp.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7s-warp.dts b/arch/arm/boot/dts/nxp/imx/imx7s-warp.dts index ba7231b364bb..7bab113ca6da 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7s-warp.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7s-warp.dts @@ -210,6 +210,7 @@ ov2680_to_mipi: endpoint { remote-endpoint = <&mipi_from_sensor>; clock-lanes = <0>; data-lanes = <1>; + link-frequencies = /bits/ 64 <330000000>; }; }; };