{"id":2220876,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2220876/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/cover/20260408104833.3884803-1-vicamo.yang@canonical.com/","project":{"id":15,"url":"http://patchwork.ozlabs.org/api/1.1/projects/15/?format=json","name":"Ubuntu Kernel","link_name":"ubuntu-kernel","list_id":"kernel-team.lists.ubuntu.com","list_email":"kernel-team@lists.ubuntu.com","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260408104833.3884803-1-vicamo.yang@canonical.com>","date":"2026-04-08T10:48:32","name":"[0/1,SRU,R] UBUNTU: SAUCE: media: ipu-bridge: add TBE20A0 ACPI id for Sony IMX471","submitter":{"id":76014,"url":"http://patchwork.ozlabs.org/api/1.1/people/76014/?format=json","name":"You-Sheng Yang","email":"vicamo.yang@canonical.com"},"mbox":"http://patchwork.ozlabs.org/project/ubuntu-kernel/cover/20260408104833.3884803-1-vicamo.yang@canonical.com/mbox/","series":[{"id":499117,"url":"http://patchwork.ozlabs.org/api/1.1/series/499117/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=499117","date":"2026-04-08T10:48:32","name":"UBUNTU: SAUCE: media: ipu-bridge: add TBE20A0 ACPI id for Sony IMX471","version":1,"mbox":"http://patchwork.ozlabs.org/series/499117/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2220876/comments/","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":"legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)","Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frKYm5k53z1yD6\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 20:49:00 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wAQSp-0003Xm-EL; Wed, 08 Apr 2026 10:48:51 +0000","from mail-pf1-f179.google.com ([209.85.210.179])\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <vicamo@gmail.com>) id 1wAQSn-0003XZ-QM\n for kernel-team@lists.ubuntu.com; Wed, 08 Apr 2026 10:48:49 +0000","by mail-pf1-f179.google.com with SMTP id\n d2e1a72fcca58-82cec955160so4126524b3a.0\n for <kernel-team@lists.ubuntu.com>; Wed, 08 Apr 2026 03:48:49 -0700 (PDT)","from yewun (118-163-192-137.hinet-ip.hinet.net. [118.163.192.137])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9b76c0fsm19176327b3a.15.2026.04.08.03.48.45\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 08 Apr 2026 03:48:46 -0700 (PDT)"],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775645327; x=1776250127;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=esW7uvWrPnLBhz1K0jKEnVHsRJtTg7B8ItxGVLvxCqo=;\n b=IYhNoRjJUFgtk5ddPOFyhuU8LJbn5WtrthycnwT+C+JSjIAroALIJ//nNfir5RANOH\n BzHpy5/MON8OS0f8he+7o3FMXg2otJ3meniCJvc3mS+N6aMFzipYwlSF2nY5nZxMoya4\n V2nSkGcyvaWIsKsvdVaDmYBDCHrUukWURVA3UrKxLrI/Vy8akFlosr4MMmt4+C718Moe\n c+tbIxKPPJLpESyyIyyWzwsOV0WRxSmXFTnWxAb5V6PnkdnSTVNyVIHoFTJp370BIyHt\n +1z7cpkzv8k6OLYGJxRD6SM87YIq9LXe5BL/te8eV5nOo9Os4Zc+l9mc4laT0dk1F/bh\n /Txw==","X-Gm-Message-State":"AOJu0YxO8i+ikMKJMkgfaereVXAS95Skqk2YkVQu+ZY6xGKf2CqOUv4n\n YGgE32I3JqMWH6HEBKXR+Ky+j7akhZe77PAmR2dtxhKdMSLKfPZ86vXWIPJueg==","X-Gm-Gg":"AeBDiesGEVQp5yXmK17D5ygEDrSKF8yWMv97/nmxN3wUQhz3/u43gTaql6vksb014Xt\n EyQUBvV7WTko0UESY9qblrjyJqhEP9hCSCS8UPn/LjaDE5TRYHmN7Hep6tTRFkGMh1rKceVU9LY\n MidzJ2snT+AmSsoZmI1jeGv/MCIiqLPieac17mo/7DLCwWEvf0Y+w5o1o9NK2QQ2mAmCBNY1Izo\n daEtsnEsu9LZA0z3+BTiCylmufGC/IeO+mcjwyXffVNwk/ICumRfev1EGudWenH6ev5B/LQGtzn\n oZPULgLRRaRVfgNetnzymVact5QJpFd5F/U776XhtfNWOtrEZF9ua3Xvb8R8okqQK7v7JtCvl3G\n kakAx46eeTaWcvkmaFqbOv4L76vp9znXeRRvOLXyKlpPp3a8QZyod/HwLEr5l3EMJ7Loz1JT7y/\n JnOkCqepBAXjbUpyAWkozrRVFgv1sjAQIublpGmInKkwEwhSQz/B8hZQfut9LhMnS4QyJOsq4=","X-Received":"by 2002:a05:6a00:2d15:b0:82a:65fa:cecf with SMTP id\n d2e1a72fcca58-82d0da41a52mr20196708b3a.4.1775645327100;\n Wed, 08 Apr 2026 03:48:47 -0700 (PDT)","From":"You-Sheng Yang <vicamo.yang@canonical.com>","To":"kernel-team@lists.ubuntu.com","Subject":"[PATCH 0/1][SRU][R] UBUNTU: SAUCE: media: ipu-bridge: add TBE20A0\n ACPI id for Sony IMX471","Date":"Wed,  8 Apr 2026 18:48:32 +0800","Message-ID":"<20260408104833.3884803-1-vicamo.yang@canonical.com>","X-Mailer":"git-send-email 2.53.0","MIME-Version":"1.0","Received-SPF":"pass client-ip=209.85.210.179; envelope-from=vicamo@gmail.com;\n helo=mail-pf1-f179.google.com","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"},"content":"BugLink: https://launchpad.net/bugs/2138841\n\n[Impact]\n\nSome OEM platforms has the camera sensor mounted upside down and it\ntakes the V4L2 vflip/hflip feature to cover the hardware design.\n\n[Fix]\n\nWhile IMX471 is not yet upstreamed, the proposed fixes lives in Intel's\nrepositories as:\n* https://github.com/intel/ipu6-drivers/pull/415\n* https://github.com/intel/ipu7-camera-hal/pull/31\n\n[Test Plan]\n\n1. Locate the device:\n```\n$ media-ctl -p\nMedia controller API version 6.17.13\n\nMedia device information\n------------------------\ndriver intel-ipu7\nmodel ipu7\nserial\nbus info PCI:0000:00:05.0\nhw revision 0x17aa2355\ndriver version 6.17.13\n\nDevice topology\n...\n- entity 233: imx471 0-001a (1 pad, 1 link, 0 routes)\n              type V4L2 subdev subtype Sensor flags 0\n              device node name /dev/v4l-subdev4\n        pad0: Source\n                [stream:0 fmt:SRGGB10_1X10/1928x1088 field:none]\n                -> \"Intel IPU7 CSI2 0\":0 [ENABLED,IMMUTABLE]\n\n```\n\n2. Enumerate supported controls:\n```\n$ v4l2-ctl -l -d /dev/v4l-subdev4\nUser Controls\n\n                       exposure 0x00980911 (int) : min=1 max=1290 step=1 default=1270 value=1270 flags=0x00001000\n                horizontal_flip 0x00980914 (bool) : default=0 value=0 flags=0x00001000\n                  vertical_flip 0x00980915 (bool) : default=0 value=0 flags=0x00001000\n...\n```\n\n3. Test setting VFLIP/HFLIP:\n```\n$ v4l2-ctl --set-ctrl vertical_flip=1 -d /dev/v4l-subdev4\n$ v4l2-ctl --get-ctrl vertical_flip -d /dev/v4l-subdev4\nvertical_flip: 1\n$ v4l2-ctl --set-ctrl horizontal_flip=1 -d /dev/v4l-subdev4\n$ v4l2-ctl --get-ctrl horizontal_flip -d /dev/v4l-subdev4\nhorizontal_flip: 1\n```\n\n4. Check camera streaming:\n```\n$ sudo gst-launch-1.0 icamerasrc ! videoconvert ! autovideosink\n```\n\n[Where problems could occur]\n\nThis adds driver implementation of a device supported feature for V4L2\nVFLIP/HFLIP control API by writing corresponding values to device\nregister. Simple and straightforward and limited to the device.\n\n[Other Info]\n\nN/A.\n\nSerin Yeh (1):\n  UBUNTU: SAUCE: media: ipu-bridge: add TBE20A0 ACPI id for Sony IMX471\n\n drivers/media/pci/intel/ipu-bridge.c | 1 +\n 1 file changed, 1 insertion(+)"}