From patchwork Thu May 19 16:29:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 12855777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE22AC433FE for ; Thu, 19 May 2022 16:29:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B37B10EB5A; Thu, 19 May 2022 16:29:56 +0000 (UTC) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by gabe.freedesktop.org (Postfix) with ESMTPS id 878B910EB5A for ; Thu, 19 May 2022 16:29:54 +0000 (UTC) Received: by mail-oi1-x235.google.com with SMTP id e189so7075245oia.8 for ; Thu, 19 May 2022 09:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nWielQwKUjaGCDPYpC0qlz0e3JwhdCLUGqShkGf0aHY=; b=fKpqUT7H7BdkIbUfBb4GLkjD1bN9SIqIy7m9m5WOhDZHoiHnMmWZsaSheN572PWzqF kp8DP8En68d5EPuf0GiF6YBioPYQ2aNoqcNsx5x7QhpIwtmqIf2i0ygaU79bBCNX1awA /WYZTg7jisNrmr8Mr33FBWjoXTJZuzwbvPEmYGbPUQuCneGLqDdDR7DnjjL14yOvS4+F kalzy1U002ceRd6QSBU/2FcW7eVnl/BZkktShPBGxJEy0EUhVzVY7SzveusSAkNgXwUy vd4GDZx3qR2yb47RBDNbiqAqI2m/Ik9WL5oc4KiGasqoKjzMmGl0QwUrRVZ/hh+QDouS 55IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nWielQwKUjaGCDPYpC0qlz0e3JwhdCLUGqShkGf0aHY=; b=iiJ4O2RyYLmALEMVRO3xoPPjHN3If9H6h6pujcnL7SDePKUhKzmCSdKRJuP4zXIYdq 76FjxkwLrD2bXcljCBHFzjx99dmQ6hIPePRH9xSipGzDjApYUPfXkZ+saQCA5zfJbcRh ZIWzvoVeQwvshCnZY3F8Hkp5pf+QW1IQQzQO/QZB8FUrxZoLFFjp+78OP9FxT7wOS0x6 nApcXO/FTY4kpu07mmx1MXqRJWpaVjPNa0SSqEKbheMAeOcZzrbM9wJOmQXPFwj+Jint j3MPXtiYcUF0/FTCEHda3qPdm5rVUfil5CXCqQY2lst6xMhXveS8fhLdiSqR6+DliVZt 0lXg== X-Gm-Message-State: AOAM531RQaKoJ/PCQFC2AHzrk508w9il/l8qwVnffQTrmb41oAaOZ5Nx uLyxM9Nd1PiK9zknT9opLxOqOavOqoZ8oQ== X-Google-Smtp-Source: ABdhPJwyUBkfMLQeVNxghJT+ulgz5YHDxLS03g5x9fK3VD+DVNDzCSSRXmI3ieSkGIl1/RUzeFwJbg== X-Received: by 2002:aca:c1c2:0:b0:328:e69b:d725 with SMTP id r185-20020acac1c2000000b00328e69bd725mr2990064oif.266.1652977792109; Thu, 19 May 2022 09:29:52 -0700 (PDT) Received: from wintermute.localdomain (cpe-76-183-134-35.tx.res.rr.com. [76.183.134.35]) by smtp.gmail.com with ESMTPSA id n4-20020a056870844400b000e92295f8acsm36562oak.2.2022.05.19.09.29.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 09:29:51 -0700 (PDT) From: Chris Morgan To: dri-devel@lists.freedesktop.org Subject: [RESEND 2/6 v2] media: uapi: Document format MEDIA_BUS_FMT_RGB565_1X24_CPADHI Date: Thu, 19 May 2022 11:29:31 -0500 Message-Id: <20220519162935.1585-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220519162935.1585-1-macroalpha82@gmail.com> References: <20220519162935.1585-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, emma@anholt.net, airlied@linux.ie, Chris Morgan , robh+dt@kernel.org, thierry.reding@gmail.com, mchehab@kernel.org, sam@ravnborg.org, linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Chris Morgan Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI. This format is used by the Geekworm MZP280 panel which interfaces with the Raspberry Pi. Signed-off-by: Chris Morgan Acked-by: Hans Verkuil --- .../media/v4l/subdev-formats.rst | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/subdev-formats.rst b/Documentation/userspace-api/media/v4l/subdev-formats.rst index 0cbc045d5..e43e07634 100644 --- a/Documentation/userspace-api/media/v4l/subdev-formats.rst +++ b/Documentation/userspace-api/media/v4l/subdev-formats.rst @@ -624,6 +624,43 @@ The following tables list existing packed RGB formats. - b\ :sub:`2` - b\ :sub:`1` - b\ :sub:`0` + * .. _MEDIA_BUS_FMT_RGB565_1X24_CPADHI: + + - MEDIA_BUS_FMT_RGB565_1X24_CPADHI + - 0x101e + - + - + - + - + - + - + - + - + - + - 0 + - 0 + - 0 + - r\ :sub:`4` + - r\ :sub:`3` + - r\ :sub:`2` + - r\ :sub:`1` + - r\ :sub:`0` + - 0 + - 0 + - g\ :sub:`5` + - g\ :sub:`4` + - g\ :sub:`3` + - g\ :sub:`2` + - g\ :sub:`1` + - g\ :sub:`0` + - 0 + - 0 + - 0 + - b\ :sub:`4` + - b\ :sub:`3` + - b\ :sub:`2` + - b\ :sub:`1` + - b\ :sub:`0` * .. _MEDIA-BUS-FMT-BGR565-2X8-BE: - MEDIA_BUS_FMT_BGR565_2X8_BE