Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1827686rdb; Thu, 7 Dec 2023 09:44:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxAbLIestyRvpxHev8msIjNXzBSXkEXnJ0tA5HheUPgebO9vSmNutRMXlWhRoH2rOzVL7b X-Received: by 2002:a17:903:11c3:b0:1d0:7c2a:581a with SMTP id q3-20020a17090311c300b001d07c2a581amr3001453plh.104.1701971091407; Thu, 07 Dec 2023 09:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701971091; cv=none; d=google.com; s=arc-20160816; b=Sv3KZoJPK8+iNfEcyrP/nBWoVwhYlOcNNB8VrU3+AQi8vbQGzAWcQSEUX6mCdw28+V vZvY02EKaxP4oDoZvDX7ikrvujYePRnqhkDJbU4nU+Si5xPX1yBauP00ZyPlz1qrD8/I abw4rICW9bZUbWs4kn3uyzFE1d4ya7JG6426a1rcnV/1LJMCOgNeNcX2Tub904dhmNs4 3D6UaQuvso01cgLclkS5TpwPB6sR8v+UI8tbpxlm4RoTRyIgTcQLLaeeqQjT2lZmr2uo lpSq5awVqpAVFBqgddaYgvLzz/UERjroxfIoH53K4uN6KW/9mKIVnPVSD7X5sjNweIZh iWBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lr/wB7ZVRI5pkXtWV92KYpDKNp8igIo8qtNEUDKBh8Q=; fh=eZnxw2LGky8aemHgfmGR7QxaNWMDA8ppxaDu353P+7Y=; b=cpgT6n1irlkz20TwJrjQsTAMM3hkqcP/c5d8xsy5M9UQr/f0HQBkao4wZnh0GTtvFL ITX26ylWVEuanNeED/h+P+ORwRVRrwb/GtUB8JaocvW48o9o4JXRMYnCVmBTsvgShFzn 74Liwq7Oyhhw30N6mNQMymxgYhQNgwYCzWnjCmsK3AE0WyBFHF67FNzNi1oB73zDY7DD jG56OKgsYeYvEdmX2CZ9TJ9r4H5yjmWoY4ttzsmo1ivpP+FjZljj1omws3KnWwKxpsvZ X0Azg2//Md3Q8gGfeBL+7oyyk7ql8yKn9NLu4gD0XGB7/oeHCqbRJx/Kc6KaURs2hTFU 1ajQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wx2uHuTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b13-20020a170902d50d00b001c73626a1ffsi97280plg.412.2023.12.07.09.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 09:44:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wx2uHuTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D55E6802EE5D; Thu, 7 Dec 2023 09:44:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443525AbjLGRog (ORCPT + 99 others); Thu, 7 Dec 2023 12:44:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443502AbjLGRof (ORCPT ); Thu, 7 Dec 2023 12:44:35 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77162122 for ; Thu, 7 Dec 2023 09:44:41 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33A48C433C7; Thu, 7 Dec 2023 17:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701971081; bh=kE0n2gr2CaIRus73ES8kcVH1cf0yVteSBzOYtQB63UE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wx2uHuTI6SpzzO+4J24LEQXHwI8kMMjn/qOqux/fXdUtdAWG2QCL8sILWDpJv+ZRF KHg3m32XXp9M0JHczC1pJ5mbyuf2v+IBiI4TxCk3wJuJ8gF3M9cRUR/+1F7JeGjaIn sGFKQ4y5dzNIUi712KgDXAfT8xTWq/lrdNamvAiVIjOxeBxsCzjK3vwAts6s3KZll+ lAHTujKHv4mzVF64GL9BrxMY0ixS8kqGzoqDwQphiKSb7NTU8hSLtNWWvAHjjsYKSn eEpZKEROovsfYnyVFHO8rc0FM5HySlfHMJ+nD6KqHaBHXSEB2auLMHiVxI+C6WhlWq rLdKHrenbru5g== Date: Thu, 7 Dec 2023 17:44:32 +0000 From: Conor Dooley To: Krzysztof Kozlowski Cc: Sakari Ailus , Zhi Mao , mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shengnan.wang@mediatek.com, yaya.chang@mediatek.com, 10572168@qq.com, Project_Global_Chrome_Upstream_Group@mediatek.com, yunkec@chromium.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jacopo.mondi@ideasonboard.com, hverkuil-cisco@xs4all.nl, heiko@sntech.de, jernej.skrabec@gmail.com, macromorgan@hotmail.com, linus.walleij@linaro.org, laurent.pinchart@ideasonboard.com, hdegoede@redhat.com, tomi.valkeinen@ideasonboard.com, gerald.loacker@wolfvision.net, andy.shevchenko@gmail.com, bingbu.cao@intel.com, dan.scally@ideasonboard.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 1/2] media: i2c: Add GC08A3 image sensor driver Message-ID: <20231207-outcome-acclaim-d179c8c07fff@spud> References: <20231207052016.25954-1-zhi.mao@mediatek.com> <20231207052016.25954-2-zhi.mao@mediatek.com> <129e3a8b-5e91-424a-8ff8-b015d5175f1a@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="N40z4CafL7X1rYMV" Content-Disposition: inline In-Reply-To: <129e3a8b-5e91-424a-8ff8-b015d5175f1a@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 09:44:49 -0800 (PST) --N40z4CafL7X1rYMV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 07, 2023 at 01:30:35PM +0100, Krzysztof Kozlowski wrote: > On 07/12/2023 12:34, Sakari Ailus wrote: > >> + ret =3D gc08a3_parse_fwnode(dev); > >> + if (ret) > >> + return ret; > >> + > >> + gc08a3 =3D devm_kzalloc(dev, sizeof(*gc08a3), GFP_KERNEL); > >> + if (!gc08a3) > >> + return -ENOMEM; > >> + > >> + gc08a3->dev =3D dev; > >> + > >> + gc08a3->xclk =3D devm_clk_get(dev, NULL); > >> + if (IS_ERR(gc08a3->xclk)) > >> + return dev_err_probe(dev, PTR_ERR(gc08a3->xclk), > >> + "failed to get xclk\n"); > >> + > >> + ret =3D clk_set_rate(gc08a3->xclk, GC08A3_DEFAULT_CLK_FREQ); > >=20 > > Please see: > > . >=20 >=20 > Oh, that's cool it was documented! >=20 > The canonical link would be: > https://www.kernel.org/doc/html/latest/driver-api/media/camera-sensor.htm= l#devicetree I believe this is that answer to the "why are these needed" that I asked on the previous version and never got a response to. Instead, they were just removed from the binding etc. --N40z4CafL7X1rYMV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXIEgAAKCRB4tDGHoIJi 0ouqAQDUTa6OU1g0zJUvJGN1UaS5mtsII2EiSZDKd4calhNwgAD8D7luYf3WpePJ KUxA5v4yxt6pUlaZ/sKzTzU/x1c2/QQ= =YQab -----END PGP SIGNATURE----- --N40z4CafL7X1rYMV--