From nobody Thu Aug 18 09:10:17 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M7fHF3QsTz4Ywgs; Thu, 18 Aug 2022 09:10:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M7fHF2nHwz3QPf; Thu, 18 Aug 2022 09:10:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IdqqNGiTxLLBDUZ5eMKHqql28r8ST0OdDcXdojynyuQ=; b=rBtqYrTLa1mrMU6/3C1nR52BjlCqBw8ly5t/Why1NHAZwjtAe33l5ij+sbz9F25PeIU2hx dIQX/00DhfbJFpF3L52n5c3XJjuAAn9deeTRJOj7DSpUfQG5Gm3J96c8+GltsqPI1iuvYM tGw3mlX9A/St9Jzv1OG1eULC2Aay2UuQlItcacEApCFyv+fX/m4HZXEVREoijyi+1vkGr2 SjyWyHVz9ZQNIfEZSeATcM2kYzvNiv9wNZDJb+mIsxwTbmKlQgJWmzGGOVKhaTe3qHMRMH 8Zm4roeYQKQjKSdiACsATnEYhWNbJyWzdB4Uv1p3n3PVYkWWNkUXpEW4DbM9Og== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M7fHF1qf5z1NFp; Thu, 18 Aug 2022 09:10:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27I9AHoL020919; Thu, 18 Aug 2022 09:10:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27I9AHSg020913; Thu, 18 Aug 2022 09:10:17 GMT (envelope-from git) Date: Thu, 18 Aug 2022 09:10:17 GMT Message-Id: <202208180910.27I9AHSg020913@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 73e342328b53 - main - linuxkpi: Add video/mipi_display.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73e342328b538e5936f248c03a299884dbe22047 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IdqqNGiTxLLBDUZ5eMKHqql28r8ST0OdDcXdojynyuQ=; b=RiXzqaTM/LcCC+QrmsW0e6xtsYYczKFSjZFdq8xc3k+vhyREvR8uimwajbBqSTXwcLfWJ5 sbo+ExdZp6yWm8qjVVD+FDfgMa6ZB5HVYPxhg/M61KKIAHi3FU7lBxKKh6xAdBQUcheEPj gx0VBkSWeRiEn0EXrSCbqlE9+GxHBnn9QOyXOO4ovzew5NI1Vx4xjybjQTMaptvJgC4jv+ 4ulQ1EcP6kPszwMih1YFYPD+F0V+mu2GT1mqN+wLGLnd9qDSoH2VVr2EM4f9wo19uW/Cvt q0Ne/vKcZx212UrYie0DcKOrSjRKP0JBmeUlKyGBwqPdJ1PNeF9Aio2n9o9ozA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660813817; a=rsa-sha256; cv=none; b=x4yDy/xfcUN/5kVmYHfdtgRhMFgVXxRzFK6aoc0UuRZQ1oCm3bNxjxiOzNNB7M/3czjRvE EZhhyHbp3uEKfgHkKlnU1ksDpWHHqpkPwjnGCB8jVHuD9dFp7buGfkSHaxkLH0ysSYGH84 6Rj1RlKrZzlZpMXRdt8GZUxykEnvydcahtuIo6IvwFVGf0wGAz/sbYGtLP/NzdivgZWCbn RXmyWOzyNz/fILj5V/jdST2zMOHWUluRfntPU5DHk73bG/QG/XWNaRKqwES3GPo3xmbjED fA+wTPQpg867zR4r2a4Z/lHyuAU+dZyize+9OAGT7UycwsXv29ujC42dRhi9Yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=73e342328b538e5936f248c03a299884dbe22047 commit 73e342328b538e5936f248c03a299884dbe22047 Author: Emmanuel Vadot AuthorDate: 2022-08-09 09:40:34 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-18 07:47:12 +0000 linuxkpi: Add video/mipi_display.h Needed by drm-kmod. Reviewed by: bz Obtained from: OpenBSD Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36103 --- .../linuxkpi/common/include/video/mipi_display.h | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/video/mipi_display.h b/sys/compat/linuxkpi/common/include/video/mipi_display.h new file mode 100644 index 000000000000..ea079a57d39f --- /dev/null +++ b/sys/compat/linuxkpi/common/include/video/mipi_display.h @@ -0,0 +1,64 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_VIDEO_MIPI_DISPLAY_H_ +#define _LINUXKPI_VIDEO_MIPI_DISPLAY_H_ + +#define MIPI_DSI_V_SYNC_START 0x01 +#define MIPI_DSI_V_SYNC_END 0x11 +#define MIPI_DSI_H_SYNC_START 0x21 +#define MIPI_DSI_H_SYNC_END 0x31 +#define MIPI_DSI_COMPRESSION_MODE 0x07 +#define MIPI_DSI_END_OF_TRANSMISSION 0x08 +#define MIPI_DSI_COLOR_MODE_OFF 0x02 +#define MIPI_DSI_COLOR_MODE_ON 0x12 +#define MIPI_DSI_SHUTDOWN_PERIPHERAL 0x22 +#define MIPI_DSI_TURN_ON_PERIPHERAL 0x32 +#define MIPI_DSI_GENERIC_SHORT_WRITE_0_PARAM 0x03 +#define MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM 0x13 +#define MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM 0x23 +#define MIPI_DSI_GENERIC_READ_REQUEST_0_PARAM 0x04 +#define MIPI_DSI_GENERIC_READ_REQUEST_1_PARAM 0x14 +#define MIPI_DSI_GENERIC_READ_REQUEST_2_PARAM 0x24 +#define MIPI_DSI_DCS_SHORT_WRITE 0x05 +#define MIPI_DSI_DCS_SHORT_WRITE_PARAM 0x15 +#define MIPI_DSI_DCS_READ 0x06 +#define MIPI_DSI_EXECUTE_QUEUE 0x16 +#define MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE 0x37 +#define MIPI_DSI_NULL_PACKET 0x09 +#define MIPI_DSI_BLANKING_PACKET 0x19 +#define MIPI_DSI_GENERIC_LONG_WRITE 0x29 +#define MIPI_DSI_DCS_LONG_WRITE 0x39 +#define MIPI_DSI_PICTURE_PARAMETER_SET 0x0a +#define MIPI_DSI_COMPRESSED_PIXEL_STREAM 0x0b +#define MIPI_DSI_LOOSELY_PACKED_PIXEL_STREAM_YCBCR20 0x0c +#define MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR24 0x1c +#define MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR16 0x2c +#define MIPI_DSI_PACKED_PIXEL_STREAM_30 0x0d +#define MIPI_DSI_PACKED_PIXEL_STREAM_36 0x1d +#define MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR12 0x3d +#define MIPI_DSI_PACKED_PIXEL_STREAM_16 0x0e +#define MIPI_DSI_PACKED_PIXEL_STREAM_18 0x1e +#define MIPI_DSI_PIXEL_STREAM_3BYTE_18 0x2e +#define MIPI_DSI_PACKED_PIXEL_STREAM_24 0x3e + +#define MIPI_DCS_NOP 0x00 +#define MIPI_DCS_SOFT_RESET 0x01 +#define MIPI_DCS_GET_POWER_MODE 0x0a +#define MIPI_DCS_GET_PIXEL_FORMAT 0x0c +#define MIPI_DCS_ENTER_SLEEP_MODE 0x10 +#define MIPI_DCS_EXIT_SLEEP_MODE 0x11 +#define MIPI_DCS_SET_DISPLAY_OFF 0x28 +#define MIPI_DCS_SET_DISPLAY_ON 0x29 +#define MIPI_DCS_SET_COLUMN_ADDRESS 0x2a +#define MIPI_DCS_SET_PAGE_ADDRESS 0x2b +#define MIPI_DCS_SET_TEAR_OFF 0x34 +#define MIPI_DCS_SET_TEAR_ON 0x35 +#define MIPI_DCS_SET_PIXEL_FORMAT 0x3a +#define MIPI_DCS_SET_TEAR_SCANLINE 0x44 +#define MIPI_DCS_SET_DISPLAY_BRIGHTNESS 0x51 +#define MIPI_DCS_GET_DISPLAY_BRIGHTNESS 0x52 +#define MIPI_DCS_WRITE_CONTROL_DISPLAY 0x53 +#define MIPI_DCS_GET_CONTROL_DISPLAY 0x54 +#define MIPI_DCS_WRITE_POWER_SAVE 0x55 + +#endif /* _LINUXKPI_VIDEO_MIPI_DISPLAY_H_ */