Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1152446pxb; Fri, 26 Feb 2021 04:02:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4dmN0R4cAMtnWJ8T3Xd1Ck4h+1Yg/+6ePy+ieRBT+m2LUN3AAMO5b81zd/+AZcB5ZPKqp X-Received: by 2002:a17:906:9386:: with SMTP id l6mr2864569ejx.455.1614340943640; Fri, 26 Feb 2021 04:02:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614340943; cv=none; d=google.com; s=arc-20160816; b=TisRRx2POWM5x8zM076Eb+YDJRIT9pXF338FG1VBtx6QdPK5HjzY4GYsP71hB02oRK I/wcM8c6PmCQ0JRcnnT3kK+vxuJ436O6FqQ+tSEHAQwR36eIpZaMQOi97KXzGhofnXa/ xwzarDivtEQkFoR7uLwetzaKaeBKSS/m0n+Tu4YADt9xXYPpgMFEf2WL9fPXHYbRFqDF MMfv2njrsdUQF9bFlLG2iufBh7E/45AEbGIzH9rh1RzKX86zdRpCI11MbUxlB2QtGuD1 48wvvaOUYZL5meYCdudEH7ZiMCzhVU6JOJQery7HIyvlvl6JCs1yvi+qLd1+khZF7lsF nYKg== 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=OTt+hzwUzbEnNK6etaUVSe6BNGtkKbiycN/jXlNteq0=; b=D6ZedNJyThXRyNx7ruboW29ZxAewfBtmlsqb6DYCK3bNUFWS9uubysYD6limqJ7x8p W0LuR/Bi4l3L0z+pibPta/PwId3+/P97bMqsXVT/NApJUz7XqOwcdURxvfwIyYP2WCo+ ruZiVLNqTz+oGkUfP3L0cV9LO8hfeadFYMNza4IITSUeDM6IMRIIXXjScBLojS7yHPal 21LY57n5Osv2NWXXkjUNZVW0CYITr+Iy17k6ZpAa87yc8q5BBAwOqANsR+ERFf9zwlPo vv7FHVkiP32sC/i1aVf1B4u9smBNTiIS8OWCVrrGcHyhY3zIb1BFZxxI86LDJhL24Xkx rtKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="asNZJiY/"; 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 ec1si5794672ejb.598.2021.02.26.04.02.00; Fri, 26 Feb 2021 04:02:23 -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="asNZJiY/"; 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 S229996AbhBZMAt (ORCPT + 99 others); Fri, 26 Feb 2021 07:00:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbhBZMAs (ORCPT ); Fri, 26 Feb 2021 07:00:48 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEECAC061756 for ; Fri, 26 Feb 2021 04:00:07 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id e9so3198375pjs.2 for ; Fri, 26 Feb 2021 04:00:07 -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=OTt+hzwUzbEnNK6etaUVSe6BNGtkKbiycN/jXlNteq0=; b=asNZJiY/ZN5/+Dh0isecfCCWU4RODpQNusNjrlECjqzWIL/uwWIBOBPJCh5a8J+icW 58k9I4EH5I4J8AuSpTqnnQcatHcS4FICl89ylMgE79cPJMPQlwoD4Z/p7k5XYUTnrJ9i DBGfYfLLHS7jSrrdepRYAYw2f2QJMR6adyYDSKAMy3Mx/V2f7O3VJO1n4oyhEBPiNSeX L3u7OGk5NKdOPy6L05PUQtw8Fz6ksdNKiN25JGwnR/7D9ujyhoiPYkrB63j8RRydcs/W LnXCfsNq7zfQLv/doZ4JHMDtMK2LOK9POnSS9qDubVbq2SgAs0KoG9BWMjrMktcCJ+gf PUPA== 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=OTt+hzwUzbEnNK6etaUVSe6BNGtkKbiycN/jXlNteq0=; b=YrfIcewryR36I8mIedK9j3VnrKvIarzRmw8ed8ZGv7RyouPtsV/oNQwJhosg/Efuij fL/hNJd62pU1QunORPWKYcWewzgZhI+3bI3cb9piX5Nh4Cz3DFRRRMkOuJfNM1f0y8fB +7qrda9Lb8S4Wi1HuIaEClIXsPMdfWVhwYyhKfnjHViFDoFAVtzsbxoATdYaRhFU/tx4 J9ezKHfgJ2oZ6RZTSPCPiP3/1Fyw1A+zwkFWhq5UTGnijWlnVadzyqYPra49IeUttxqV 6Qbo7wEQjO0VkLG/nDpdKBDVI2nacm2yIy1ZutLDJkv2abIruGul4QdsRf2cF8vDtn9c PBag== X-Gm-Message-State: AOAM531jEzgIDv8P4C6CaSMwQmxKBmv9DE640Fcjv2Axj6Kr7P4A6dxg c69b1iJ2skLmIYCA3/kHXhMiOQXpnGHqDVzuVsx/jA== X-Received: by 2002:a17:90a:8b83:: with SMTP id z3mr3182942pjn.75.1614340807377; Fri, 26 Feb 2021 04:00:07 -0800 (PST) MIME-Version: 1.0 References: <1613619715-28785-1-git-send-email-victor.liu@nxp.com> <1613619715-28785-3-git-send-email-victor.liu@nxp.com> In-Reply-To: <1613619715-28785-3-git-send-email-victor.liu@nxp.com> From: Robert Foss Date: Fri, 26 Feb 2021 12:59:56 +0100 Message-ID: Subject: Re: [PATCH v4 02/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner To: Liu Ying Cc: dri-devel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , linux-media , David Airlie , Daniel Vetter , Rob Herring , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, Mauro Carvalho Chehab , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , kishon@ti.com, Vinod Koul Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Liu, This patch looks good to me Reviewed-by: Robert Foss On Thu, 18 Feb 2021 at 04:56, Liu Ying wrote: > > This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO > and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. > The RGB pixels with padding low per component are transmitted on a 30-bit > input bus(10-bit per component) from a display controller or a 36-bit > output bus(12-bit per component) to a pixel link. > > Signed-off-by: Liu Ying > --- > v3->v4: > * No change. > > v2->v3: > * No change. > > v1->v2: > * No change. > > include/uapi/linux/media-bus-format.h | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h > index 0dfc11e..ec3323d 100644 > --- a/include/uapi/linux/media-bus-format.h > +++ b/include/uapi/linux/media-bus-format.h > @@ -34,7 +34,7 @@ > > #define MEDIA_BUS_FMT_FIXED 0x0001 > > -/* RGB - next is 0x101e */ > +/* RGB - next is 0x1022 */ > #define MEDIA_BUS_FMT_RGB444_1X12 0x1016 > #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 > #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 > @@ -59,9 +59,13 @@ > #define MEDIA_BUS_FMT_RGB888_3X8_DELTA 0x101d > #define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011 > #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012 > +#define MEDIA_BUS_FMT_RGB666_1X30_CPADLO 0x101e > +#define MEDIA_BUS_FMT_RGB888_1X30_CPADLO 0x101f > #define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d > #define MEDIA_BUS_FMT_RGB888_1X32_PADHI 0x100f > #define MEDIA_BUS_FMT_RGB101010_1X30 0x1018 > +#define MEDIA_BUS_FMT_RGB666_1X36_CPADLO 0x1020 > +#define MEDIA_BUS_FMT_RGB888_1X36_CPADLO 0x1021 > #define MEDIA_BUS_FMT_RGB121212_1X36 0x1019 > #define MEDIA_BUS_FMT_RGB161616_1X48 0x101a > > -- > 2.7.4 >