Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2803336rwa; Mon, 22 Aug 2022 14:15:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR7D7iXqD0pRDRJx5cbpt9wMd3QGEM7GKoScrIuOevS70qtcvl6ihaAgPmP8lOWuAqODUSOd X-Received: by 2002:a05:6402:e94:b0:443:e3fe:7c87 with SMTP id h20-20020a0564020e9400b00443e3fe7c87mr886643eda.144.1661202912407; Mon, 22 Aug 2022 14:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661202912; cv=none; d=google.com; s=arc-20160816; b=RU6f17ocI++q1jcg9w3n1WRUx8fZbVR6g+kUH7Nd8JLjw+58cP+kugIhKmrGhHSUMs nPvuiyrC5s2Mfh3ySIBmTNkRBdiWeGJBAVf6wwNNsvwlmrXrOK2DoilC6ZD+Uw5h3DrG m83dBknoUyWcIhEYzMoeJkbo2uaVBhk5qwagRLjpEzx2R0NIsyVAjy5b0JcIF40tinN8 gHwagx79bCnMDOH7fktCaCsie1vsJoCvYw7CVGyfwlpribO5BCGe7BbGvt0hcZwi4Qwr VtnY0Xag1iRXlLwttTvXo+7L9fX8HaeIIEEy3j6sT0sWG6p7Uv9gXBDof4md6vqs0yx+ yZOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=fZ/pgSVExMd0u5k55JxcceZ7T5/ac1VGYLI2Pl48nAw=; b=wGju6WdBdWEzycKcOxTtFQivvJq+ANvCPDO5imOlglwxpjKR6t6lFeZaoFvbnhXPxX WW64Cs4aTb8VCirfrpZZVmzjaBW7BYHvGuhE3hdTuOwqYr2RpIiRhldk230YyvRr2688 OjQBQ9zojuBkhihPiZ7ZqJQ+HB/sCCKgnsnbgzCjgTx+KWmQTi+qELHs46mbAPJ1WTch 6JhH+AE/ldGOqgL/0wHKJbjjXyu6dIeQ/v2DRac46vW1e9MnyU0KHILLRCFB4Hcduzrx xpk7utZk5U/NDJa1EIBD7Y2FRKEEhOZKRb7/ZskEy5tjRJB0wA9OeulncdPgUNInzBke FIRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=BjtHnrzj; 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=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa39-20020a1709076d2700b0072f2e1425a3si10136905ejc.774.2022.08.22.14.14.46; Mon, 22 Aug 2022 14:15:12 -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=@ucw.cz header.s=gen1 header.b=BjtHnrzj; 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=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237687AbiHVUuz (ORCPT + 99 others); Mon, 22 Aug 2022 16:50:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234517AbiHVUux (ORCPT ); Mon, 22 Aug 2022 16:50:53 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6896C50040; Mon, 22 Aug 2022 13:50:51 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A3F7E1C0005; Mon, 22 Aug 2022 22:50:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1661201449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fZ/pgSVExMd0u5k55JxcceZ7T5/ac1VGYLI2Pl48nAw=; b=BjtHnrzjejjTBlfHYD7qko+43NbC0qN1C1K4S0mY7A24qVUxhC1tCg0mIqxqpEUrnPgVla srBaus38/LBTcnsHCLDzt12gsBpbBgyexLT6miJ+oRzX/rw1I+IX/k2JaQXXJYjwcuxFqI v7Jn4drq8K1FyUHs5S63KguG+ySahcg= Date: Mon, 22 Aug 2022 22:50:49 +0200 From: Pavel Machek To: =?utf-8?Q?Ond=C5=99ej?= Jirman , icenowy@aosc.xyz, martijn@brixit.nl, kernel list , phone-devel@vger.kernel.org, mchehab@kernel.org, linux-media@vger.kernel.org Subject: Re: gc2145 camera driver (front camera on PinePhone) Message-ID: <20220822205049.GA18272@duo.ucw.cz> References: <20220822180531.GA27226@duo.ucw.cz> <20220822182058.xnpwfdjm7zmoid7y@core> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20220822182058.xnpwfdjm7zmoid7y@core> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > I'd like to mainline support for gc2145 camera on pinephone. So far I > > did trivial cleanups over the Megi's driver. I started with 5.15 > > version from Mobian. I guess yaml description of the binding needs to > > be provided, too? (Would someone have a good starting point here?) > >=20 > > Any hints? Are there better starting points? >=20 > Here's some reverse engineering work: https://xnux.eu/tablet-hacking/#017 > that went into it, that may be helpful. Thanks for pointer. I was able to find register descriptions (etc) on the web, but I assume you already know about these? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYwPsKQAKCRAw5/Bqldv6 8rDwAJ4gLtDlsznXiPxQoOv8TKYRJ6siuwCbBH6YrDQfUFBZ8FoTiPkbEnHrQps= =2MYQ -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--