Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1536661pxu; Tue, 24 Nov 2020 02:48:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzxKmxP+GLiExH4OONJ0dRVUxeTaH0BTvbuYGhhJcFSH0vpmGxeCXUwUEi3SKMGiE+QVbx X-Received: by 2002:a05:6402:a57:: with SMTP id bt23mr3181726edb.62.1606214924810; Tue, 24 Nov 2020 02:48:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606214924; cv=none; d=google.com; s=arc-20160816; b=yEW6rjX3TYbhcsCmwrhMJpVxNVD5LbD549BUZmUOGLZ1iLBWU3xs8c2OtLiBK5yzBs dVCIhaa+bMvSRwlRVzrAwmP87TXOMHutox30pSWHclxiWbEsL3jhTb1SYtxfV95NGzQN PXY6dqC4Q5AA6eDmf8oBAdcg9/8kfz/Zmm9EmSV757uyYdZN4Ba07oqjSElHIhg8fTxV dqXax5zTGFw2v9nfYoYLEBwrPzK6oTcYU6+TGV5lf655Rhbjb5lBK9ZBu1sJoVsD4No2 M57l5HQxgi4Gtl4/iOKHZgHqb5t8tYzH1tA/VIYX9V553hJJOGt4Ihrdzhhk/sJHnPuB 1eGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3kwegyRqAw46aqWt+s2hHGKYwjk1qlvqH33gfukWNu4=; b=LW65asq+zkzwCTswVBQW3nVI6cLZONCxFbxklQiDlVdg4SDGMONXCWFFTrb8JDL0Ay VX369D+eecoB5OjEfWBsrbJLkECUyOyGF8H39fJDmmvtUPp+UXLm1oh1TL5SlPv+sHq2 6JlNVZUy5Z2gkUbB08iHEricBW5UQCw3CgiEDvVQKc/CAKUiMzSn4aYaYlqiI8WdSMMK kgZCBwOyE8YKJ95iYtWXTw2+EmV/gb/CuJXwWpYD0C7YLmocM6RZX7JzpTGNx2/uOgcn 1VZPe5OFQwbDijdoe4Mw3Vx3afLyiZtxpHokKF0tclr8b5pMyCido+1a8nCBATHT/oY3 2Epw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eiVKagnS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si8057946edr.78.2020.11.24.02.48.21; Tue, 24 Nov 2020 02:48:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eiVKagnS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1731503AbgKXKpm (ORCPT + 99 others); Tue, 24 Nov 2020 05:45:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726775AbgKXKpm (ORCPT ); Tue, 24 Nov 2020 05:45:42 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46D40C0613D6 for ; Tue, 24 Nov 2020 02:45:42 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id 81so17118828pgf.0 for ; Tue, 24 Nov 2020 02:45:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3kwegyRqAw46aqWt+s2hHGKYwjk1qlvqH33gfukWNu4=; b=eiVKagnSnyv2tiR2Et7Ql7AZP/9w9jlLNqQTHS3fRI9E4/SO+rwqGhlA+DkIvTcsGL GvP3Hbn/TFHAdKlTlh4r3TdYArZkggVbz9uC3/wr8TuEJkpUg77iFOhPRCSdFmL7yiFg ccSP9+rsqwf7PsbDC0GfR7NOovBce7xUPfKYzxtdh2pq5mGIc7I68tx70c38KTIZn/Br Rrz8Quw45lUlPaH+CWus9LpFO5surp/ggMPdemQ+8ijF5G5Ro3bqOV1Stf4zIeEXhJeI oNkJglxsxCrPf8eDQ9NLYeb0jyZeBdT+rhxrJ4nMBDtV1qApdxlSoHDJH3LWPeObwOVa IfSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3kwegyRqAw46aqWt+s2hHGKYwjk1qlvqH33gfukWNu4=; b=uL81+IdyGhsMcdoMjvsMQjlSSDU7Y0ALWQI6WuwPLbOA4CRLVQYhZrx8zmGx2p6v4g kPM1gsjDCOlA32+91S3l8zH8XUqhTL+H3/pEzJAyXenjkB6z8Ub0wnlm+E0CoQgw5iD2 rGL6CwxktxR0mFL8+357P91zAQlOaxU4BOCQqH3+N2ajzOxsuX9Ccw4v+XrVowcwoDS9 DeErVBWaeaL7LchT7Y65AQDCfo5OLcxzXsJJzicgje92IW25DjAnGj36n4EoVSl1qIqm r4fw11x79heVfr2ODlAlC+uMk67UnFqa6n4WUbyerYScE8ZWvV+42b1WzzM7ibq+u9Vi yg5A== X-Gm-Message-State: AOAM532OT575FmYf0SLMuKDTKRDPsStd0foHgw7Tlzne+RWUys/BhF9k vuQGqabnahuSiL0sEmWuhkLx5eFFxcEVD7JHVG3juQ== X-Received: by 2002:a65:6a04:: with SMTP id m4mr3118476pgu.265.1606214741881; Tue, 24 Nov 2020 02:45:41 -0800 (PST) MIME-Version: 1.0 References: <20201116155008.118124-1-robert.foss@linaro.org> <1606203651.4733.134.camel@mhfsdcap03> <20201124084343.GD3940@paasikivi.fi.intel.com> <1606212616.4733.157.camel@mhfsdcap03> In-Reply-To: <1606212616.4733.157.camel@mhfsdcap03> From: Robert Foss Date: Tue, 24 Nov 2020 11:45:30 +0100 Message-ID: Subject: Re: [PATCH] media: ov8856: Remove 3280x2464 mode To: Dongchun Zhu Cc: Sakari Ailus , Mauro Carvalho Chehab , linux-media , linux-kernel , Ben Kao , Tomasz Figa , =?UTF-8?B?U2hlbmduYW4gV2FuZyAo546L5Zyj55S3KQ==?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > OV8856 sensor array region consists of 3 main window settings. > The inner window is controlled by [H_win_off, V_win_off]. > From the old unusual 3280x2464 and 1640x1232 setting, > H_win_off(R3810-R3811) is 0, V_win_off(R3812-R3813) is 1. > > Considering that the register TEST_PATTERN_CTRL(R4320) controlling pixel > order is not set (default: 0x80, meaning BG/GR) and mirror/flip are both > OFF, the absolute coordinate of crop_start is expressed as: > [H_crop_start+H_win_off, V_crop_start+V_win_off] = [0, 7] > > Thus the first pixel shall start with G channel(according to datasheet). > This is different with current resolutions (3264x2448 and 1632x1224). > Sakari: So this means that the patches introducing 3264x2448 and 1632x1224 modes really should have included code for configuring BGGR format for those two specific modes only. Let me whip up another patch for that, and put a pin in the bayer mode part of this conversation.