From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7404262FC1 for ; Mon, 28 Apr 2025 11:09:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745838550; cv=none; b=FTmI3nI3oGCe/PjrU/qVSL67Br9jgVxo0fnxI9yfoCDaLdXHFSXFd0qNR2lBqaIHQDV6QSXmXj8ZZCOUPGlXg0WKHHupiG1qOZ/H4k3zgyWahDMxI48Ck5mWlgalsf9uthjvwRLhFsEKsaXabjdYrFSgm6l+7SujNpyo2ZuByto= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745838550; c=relaxed/simple; bh=UO7J2oJdaZ6eFcmWZ2Ha3oDv7n8CZchlBO538or7ACA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=G/96kGmB8HKVLZPg11RwFN+Rp+86nXpYzufEoJarPxSLkNUU9diakS5PgpT+9A3luwdMp3kOCtbZdErbXUI6ZwM66ebb9K3zXucKXpOzM1SxXSB5rT+SxYj6ZnmAL5HfAjZvfAW1VU2vLKOkVmT5JyETCfKHk9PreIwM9ioZAxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=dIZem5C3; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dIZem5C3" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-39ac56756f6so4678883f8f.2 for ; Mon, 28 Apr 2025 04:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745838547; x=1746443347; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=H3Iext1v0JcemyuBv4epctIApvlADaZRKwnLcwjpgzU=; b=dIZem5C3NuRdwvxi77CXfxFfNK2NO5C8feHN5ES+m3RhIKmT10MEFokK0O6/AjoMH6 LWDX0RIAw0We4RDSc90DdgM96lC25ctB2wi91D9ONDMj21Lm7R8+TsFxDctCQNb5dUev BV9KJ9HTzmZiQ39Z7uVeiiV5XkH4qk72PVjSeI/QUYtdUyNpd/ptteDerecCWp607nvS 6pem4ST7Al2lQTJxbeWb1mFyqfQbk9XiK+hWwQKcNf62SGMN/ETbIUwkTtIbLKIL3uxt 3h88aoDCt0ruVcdisfegsyW+wSIcJJxMb10b6OiwWawQXJK7pJgi9qLPd7qqKiN9V+LG 5ufw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745838547; x=1746443347; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H3Iext1v0JcemyuBv4epctIApvlADaZRKwnLcwjpgzU=; b=Nrisf/70xJOFFQfOb87+5YlUEldpFEf1UnP4FqbwE3BxRarmHMLV30ty1Yt2DC0HTW 5xDS+qJ1MbH86ym4WyeA3bPFKOhbDNaLWD/T/sb3X4b/5kaufVLfsMENLKyIag7uIj3i UCDEp2ffexjk02ylhhHrTzb2mwisPMvkODVda2qxKmb+ZFLxtFXEd2ZS4mL+kJiyDuQj N+JXFdo+gK4ZNVOC3vhftIU+ivN0hC145UWR/21EHfgqgLoablJ0EdYHuRlqIzZoOwT3 Ja7fXvc6QwRIDpXEDrnCkaQJNhV+CZ6NJOA+IA8ba5i9EjOGJVDCSijcH8sGVagJCJiu lnTg== X-Forwarded-Encrypted: i=1; AJvYcCX4FwwHi8tbLH05Z3UDKZWm6h7zr2dcej5QJ6gZK6f6KcHiG79qWwYNRpcIIqflhxfUtC/BMC75H+bRj5U=@vger.kernel.org X-Gm-Message-State: AOJu0YziHAelWSpEejPGkLJiWG4bQfPs5i8T462uQ9zWPnRIbbRSRQ15 c11e6iP51s9PZCL6zaZTtTGZSnXg2EBdcdbFWPEe5iN+Z3pgcEsouigIswv8ERQ= X-Gm-Gg: ASbGncsFmNt5jhq8iNL9DOn3xOZZ4VPt5wrklmqKyg+RdR1cCsk6uWhOPAc7fyT8RpE qrj07SCP5V5JfrDb4KGgl/TtyBD9LsGRZ5qDQBD/S4aNgsj3T48qUf4lg/jpHXgMCtNTVwUWF5+ 4nT3RJaNQpFR3SFo1Gkb+nSRkJIdrlHVT85xsWF6AWyaoKt7UzuKOksJ/e0rkIkE/NSUjRPUfaK b3YbSwatkWQe4b8eONiAOtx1Lg77gRqVJ6WiNQdeKU1RgJJYs4RD0GhLvP5ynb8TArMn8XxxqeS lw7p2WfV0OkosskxJfrZ2Hx668T4QYOmwzccbaJI8i6F/yhNVywjzDf6Lv/IYz9INDzRLr+nEoE ysug96WkJcdXFsUIw X-Google-Smtp-Source: AGHT+IEQIpsf8GZoWzshfufjQ9ey+bXCZghfq/VC5/gL8/e0yZpaGRqIW9/smwUfizsp0r9wBNaNuw== X-Received: by 2002:a05:6000:401e:b0:39c:e0e:bb46 with SMTP id ffacd0b85a97d-3a07aa5fd30mr5223293f8f.4.1745838547199; Mon, 28 Apr 2025 04:09:07 -0700 (PDT) Received: from [192.168.0.34] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a073e5d4b0sm10741276f8f.89.2025.04.28.04.09.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Apr 2025 04:09:06 -0700 (PDT) Message-ID: <67b385cf-a953-4e40-a164-45535d6da212@linaro.org> Date: Mon, 28 Apr 2025 12:09:05 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] media: dt-bindings: Add OminiVision 0V02C10 To: Sakari Ailus Cc: Bryan O'Donoghue , Hans de Goede , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250426-b4-sailusfor-6-16-1-5-signed-ov02c10-yaml-v1-1-9a46124fae7b@linaro.org> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 28/04/2025 08:28, Sakari Ailus wrote: > Hi Bryan, > > Thanks for the patch. > > On Sat, Apr 26, 2025 at 11:35:21PM +0100, Bryan O'Donoghue wrote: >> Extend the ov02e10 bindings yaml to describe the ov02c10 sensor which has >> the same bindings with a different compat string and different i2c >> address only. >> >> Other differences in sensor capabilities exist but are not expressed in >> devicetree. >> >> Signed-off-by: Bryan O'Donoghue >> --- >> I previously submitted a standalone ov02c10 yaml file but, it was pointed >> out to me by Krzysztof that the ov02e10 yaml has exactly the same bindings >> and we should therefore extend the ov02e10 yaml. >> >> Link: https://lore.kernel.org/linux-media/da93bf6c-b4bc-4c4f-9373-583fbd0c031c@kernel.org/ >> >> The accompanying patch: >> >> - Updates the overall description to differentiate between the two sensors >> - Adds ovti,ov02c10 compat string >> - Adds an example for the ov02c10 >> >> Once merged we can also merge the ov02c10 driver, which contains a compat >> string requiring yaml description as precursor to merge. >> --- >> .../bindings/media/i2c/ovti,ov02e10.yaml | 47 ++++++++++++++++++++-- >> 1 file changed, 43 insertions(+), 4 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml >> index 4ac4e11a16c8bb7a53db0c44289b1004dbdc282a..1561a3e96caa8b09a4c105b87536bb0d00b2adf8 100644 >> --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml >> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml >> @@ -11,12 +11,22 @@ maintainers: >> - Bryan O'Donoghue >> >> description: | >> - The Omnivision OV02E10 is a 2 megapixel, CMOS image sensor which supports: >> + The Omnivision OV02E10 and 0V02C10 sensors are 2 megapixel, CMOS image sensors which support: >> - Automatic black level calibration (ABLC) >> - Programmable controls for frame rate, mirror and flip, binning, cropping >> and windowing >> - - Output formats 10-bit 4C RGB RAW, 10-bit Bayer RAW >> - - 2-lane MIPI D-PHY TX @ 720 Mbps per lane >> + - OVO2C10 >> + - 10 bit 1920x1080 60 fps 2-lane @ 800 Mbps/lane >> + - 10 bit 1920x1080 60 fps 1-lane @ 1500 Mbps/lane >> + - 10 bit 1280x720 60 fps cropped 1-lane @ 960 Mbps/lane >> + - 10 bit RGB/BW 640x480 60 fps bin2 or skip2 1-lane @ 800 Mbps/lane >> + - 10 bit RGB/BW 480x270 60 fps bin4 or skip4 1-lane @ 800 Mbps/lane >> + - OV02E10 >> + - 10 bit 1920x1088 60 fps 2-lane @ 720 Mbps/lane >> + - 10 bit 1280x1080 60 fps 2-lane @ 720 Mbps/lane >> + - 10 bit 960x540 60 fps 2-lane 4c1 360 Mbps/lane >> + - 8 bit 480x270 1/3/5/10 fps 4c1 sub2 288 Mbps/lane >> + - 8 bit 232x132 1/3/5/10 fps 4c1 sub4 144 Mbps/lane > > These look like driver features rather than hardware properties. What are > the hardware differences of the two sensors that could be listed here? The only real DT difference and its not something I think we usually describe in a binding is the i2c address. 0x36 for the ov02c10 0x10 for the ov02e10 It seems like "no harm" to list some of the non-DT hardware differences for informational purposes anyway. You're right, these differences aren't manifest in the yaml/dt though. > The earlier description also said this is 4C which I understand is > Omnivision term for quad Bayer pattern. It'd be nice to refer to that, too. > (I'd use quad Bayer instead in fact.)np --- bod