Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.78]) by mx.groups.io with SMTP id smtpd.web10.16595.1603305805501321780 for ; Wed, 21 Oct 2020 11:43:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=47rEInF1; spf=pass (domain: arm.com, ip: 40.107.15.78, mailfrom: anders.dellien@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dp8sVAeDZLVjUQZ/arI/W6V+peDj81zk1+S1eBMPF5M=; b=47rEInF1cLZCLpBaH7Tht5SDsN5WT5snYxAsZ4WwocISSQ5tJNF21zXyBoxMRVnG+dShXkfI35gQlNP+4RhFTgP7IBh3KYoSWm7dvYNwBuKnGiyA5iEwgYmAwAjzbdXROzGjhvz5DQSHQmN7q60xNWfWfLpJJni2YP3NFfsD0x8= Received: from AM5P194CA0007.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::17) by AM6PR08MB4487.eurprd08.prod.outlook.com (2603:10a6:20b:74::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Wed, 21 Oct 2020 18:43:21 +0000 Received: from VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:8f:cafe::42) by AM5P194CA0007.outlook.office365.com (2603:10a6:203:8f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Wed, 21 Oct 2020 18:43:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.yoctoproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.yoctoproject.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT041.mail.protection.outlook.com (10.152.19.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Wed, 21 Oct 2020 18:43:20 +0000 Received: ("Tessian outbound a64c3afb6fc9:v64"); Wed, 21 Oct 2020 18:43:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1d4d078b9a0908c0 X-CR-MTA-TID: 64aa7808 Received: from d23bbdf25b42.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 822DDE17-ACDA-4CDC-A1C7-2C8B49B21D3D.1; Wed, 21 Oct 2020 18:43:14 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d23bbdf25b42.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 21 Oct 2020 18:43:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ezHqMpG962229j/BYgQFepPrjKiEz/sa5532OUC3ThiiRo8bI5PMumvseTXFSHG2AkTJKjyILszyjrtRItupnqIc97g78tnkQQldfOp46mAweNjigtXeASWqkwk2Gf+MoW0NeQobx1zuDeaisPq8oLoG34awb7EMDiL8rf0fPXli0hlTIp79iV0+SxQCqVLRAhpYswvfpZTG5FvJ5t3F/KZBs+BgGeXQ5ISycqMaGfsDQDG5uiXu+P17ToAH2Puzl0qEPTxuSFy1mKaQ2MyOjOjXOFLPgTPQhRlslZKs0uc5sHs/oPelrTlZJSKmg7NxaxeZ9S6RgCOl2fIfieXGMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dp8sVAeDZLVjUQZ/arI/W6V+peDj81zk1+S1eBMPF5M=; b=fJTf8bkCEnlYDhkNQfVcgOs/cSi9uQdGLP8Kke4CCh1rdezobNFpwRq2+ZNWk8PDYmriKvuT7/yrVdJsuIJDPJyFyLxft0YymeYNrk1UW52vrbEy90Ac/KRq+5Q+I87G10zAPlyTp2V1pO4iYI8izShObShKggnDaD8Q1PChHHQCTBhCOngk0sKONQQ+N8aWN89PVQHLK0FkS4mUWg3PofIW8pM6a/csfCoKU9/b/Fjzoun+Sx/3WL9tOm0NJ35NR1aSjLLQwLEthnxY0GnAdU6VCD2AyGsBDqYURg9aIpDiW0psUWhwmMz2xoiR9m4OLjvO5TALWAwXrRiD2ZiDDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dp8sVAeDZLVjUQZ/arI/W6V+peDj81zk1+S1eBMPF5M=; b=47rEInF1cLZCLpBaH7Tht5SDsN5WT5snYxAsZ4WwocISSQ5tJNF21zXyBoxMRVnG+dShXkfI35gQlNP+4RhFTgP7IBh3KYoSWm7dvYNwBuKnGiyA5iEwgYmAwAjzbdXROzGjhvz5DQSHQmN7q60xNWfWfLpJJni2YP3NFfsD0x8= Authentication-Results-Original: lists.yoctoproject.org; dkim=none (message not signed) header.d=none;lists.yoctoproject.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5517.eurprd08.prod.outlook.com (2603:10a6:803:139::23) by VI1PR08MB5470.eurprd08.prod.outlook.com (2603:10a6:803:136::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Wed, 21 Oct 2020 18:43:11 +0000 Received: from VI1PR08MB5517.eurprd08.prod.outlook.com ([fe80::adae:e557:66ba:2783]) by VI1PR08MB5517.eurprd08.prod.outlook.com ([fe80::adae:e557:66ba:2783%7]) with mapi id 15.20.3499.018; Wed, 21 Oct 2020 18:43:11 +0000 From: "Anders Dellien" To: meta-arm@lists.yoctoproject.org Cc: Anders Dellien Subject: [PATCH] arm-bsp/tc0: Add kernel patches Date: Wed, 21 Oct 2020 19:42:56 +0100 Message-Id: <20201021184256.40276-1-anders.dellien@arm.com> X-Mailer: git-send-email 2.17.1 X-Originating-IP: [217.140.106.52] X-ClientProxiedBy: CWLP123CA0062.GBRP123.PROD.OUTLOOK.COM (2603:10a6:401:59::26) To VI1PR08MB5517.eurprd08.prod.outlook.com (2603:10a6:803:139::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from e123962.cambridge.arm.com (217.140.106.52) by CWLP123CA0062.GBRP123.PROD.OUTLOOK.COM (2603:10a6:401:59::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Wed, 21 Oct 2020 18:43:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d579104e-9c88-4529-992f-08d875f12ef3 X-MS-TrafficTypeDiagnostic: VI1PR08MB5470:|AM6PR08MB4487: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:534;OLM:534; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: DfnaUJXrOzBGZSbxHgW+BdjjGSL4PigLuJchecHFlLXfC4PP76OgOKCIXdEeWQhK8TB0/p7WyOossWGH1n9RDOndqbevVxkO9LETeKxLkMUi1BbsF9/013ZMWF4v9VsMYm98A0z/iePSvaewZ6g6cdjUt801ycigT6xgA63FaHAsATxrca2QAjAO7Lss/QBLNdxl/8UZ82Z9/9j7aGXa7G26DLmkK/s+1QX8kmSSrO1dBx4uwjttJT2djwAQ3QRsPDwyT+wcN/8z5bG+9EmpAYKhP6NmGx8RWfaqDaEgAAdG7yvWJGa/Xr1wPD8JDsXu/xkAKPuqZPGOBj8VDz+Uv6lYvVWSBafWasblr3H610FY3Oe9zoiNERCo7wZkhpednXyJGwyA992J+nyBBFIHjA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB5517.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(346002)(366004)(396003)(376002)(39860400002)(6916009)(8676002)(8936002)(7696005)(52116002)(4326008)(66574015)(6486002)(86362001)(26005)(2906002)(478600001)(45080400002)(956004)(2616005)(16526019)(83380400001)(186003)(44832011)(5660300002)(30864003)(6666004)(66946007)(66476007)(316002)(36756003)(1076003)(66556008)(559001)(579004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: DxUEyeGxTqzgTHQfYiwGVkB2ElVyx4yiumf+1MEE+T14XBj0Mc4d9htoZ9NyGbHuiZOf10aW7mDSEcoVFD19sTztSV2QSZy1U2Sk5j8QrmxO06iUgwN/ODE7DfZmhmQvXtoh5tMq6uaqA2Esa9cry7RNJ81qb3f2ZzYo3GXoJf3F/7/KxkDCVaTJbwnwlngrGgVQOYj0SgbisKismPg2SSUwj17bBU/RPU0HqHUhNxyP1rV+lUnqGFpTNWZQhSYrT+CoOXtHFYHgAhV9/8Bz6cmr9lmRqsBNejBu2aWLfFMI8IidNmNJOjCPYASbVM9a79Z2QZ0Ruhtf7J2o/xX1FD7E0bEjhS+zC6bCY8Z5PXNntnbmWdFJd8JBJohPVSoGDapuc2IwE8+udc/DVqRvl2Nw8DaDGlxdl0nY+kW7OKPZ75O0SABqWiqQQ9dfJRHPPijprVm1HmEq8LoRD/WJSMIj5QjwAwqdZvxynyS++WjXVxAxErJRoPlFSZbHTa972h6ObFPxxDc5VZUXhC4rEvuus8wB6Nw2WxO+gtzRkKrxWrO7/Cg/mmsASh5YaE9cyOlAqexRc6RuQL/y38QhmxKIfAL5BZG3x/qvEw7haySAi4jeOTxuWEBROnO7sOiPjuEjUs3bYsWaVpP3XaK14w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5470 Original-Authentication-Results: lists.yoctoproject.org; dkim=none (message not signed) header.d=none;lists.yoctoproject.org; dmarc=none action=none header.from=arm.com; Return-Path: Anders.Dellien@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 70c4d135-a4d1-42ba-d85b-08d875f12915 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2m/MV9Fs2p40aldh8Zcc2Rney2HWe2tfKZKs/RvVHu3o5C0NYgrx6+tBsWenircJDpM95m6HcPQ7r8n31yYphOXva/+AhlvATJIng+aWOvWYth/YwkAtQVWWkWHKa7Ze/7hm/0/8A0/h3tIQ4IqbhHpOQgiHNGhGqx8rTtTtCS4dzBhleqFYMU9G+n7Ii85tAyUb7NYX0UPxyz1EBwi33k85oCPE71fNseUMryD5k+T+DJq4dV1BjBu5x1Oj8DTGBr3fNxYn0FLdF9PgxZq8Wsq88tSvYrmvy+9xS2rH2fXNUvTiED2hejmycBBUhpF4fcoV9EAMwx9bbDvPOV3uvE3EoLiR9cIfqSuZrKHe2wsp6V/mo7d7b4k3jQNLR3J6vULLGBi/ZRzEHR2M0Cmdk1TlKO/ZxxYqLx/lLSvJFlL++Cz6zR5rmwu5GytE1vPnQRcDpOFCxXU1ooEnZgy/z7j8zeGLfWABjcdrkr6gcs8= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(136003)(376002)(396003)(39860400002)(346002)(46966005)(30864003)(70206006)(6666004)(6916009)(1076003)(70586007)(5660300002)(82310400003)(2906002)(44832011)(66574015)(86362001)(16526019)(36906005)(8676002)(956004)(336012)(316002)(2616005)(356005)(26005)(83380400001)(6486002)(36756003)(7696005)(478600001)(81166007)(82740400003)(45080400002)(47076004)(4326008)(8936002)(186003)(559001)(579004);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2020 18:43:20.6710 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d579104e-9c88-4529-992f-08d875f12ef3 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4487 Content-Type: text/plain Add patches for SCMI, MHUv2 and DRM. Also update the kernel config to enable boot to Android home screen instead of just console. Change-Id: Ic2af15441667b967ef360d8410de94e83eb73de4 Signed-off-by: Anders Dellien --- .../linux/linux-arm-platforms.inc | 13 +- ...m-Add-component-aware-simple-encoder.patch | 364 ++++++++ ...dd-RENDER-capability-to-the-device-n.patch | 31 + ...2-add-device-tree-binding-documentat.patch | 134 +++ ...ilbox-arm_mhuv2-add-arm-mhuv2-driver.patch | 822 ++++++++++++++++++ ...2-add-doorbell-transport-protocol-op.patch | 156 ++++ ...2-add-multi-word-transport-protocol-.patch | 271 ++++++ ...rm_scmi-Add-fast_switch_possible-api.patch | 67 ++ ...-Set-fast_switch_possible-conditiona.patch | 42 + .../tc0/defconfig | 444 +++++++--- .../linux/linux-arm64-ack_5.4.bbappend | 2 + 11 files changed, 2208 insertions(+), 138 deletions(-) create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0001-drm-Add-component-aware-simple-encoder.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0002-drm-arm-komeda-add-RENDER-capability-to-the-device-n.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0003-mailbox-arm_mhuv2-add-device-tree-binding-documentat.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0004-mailbox-arm_mhuv2-add-arm-mhuv2-driver.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0005-mailbox-arm_mhuv2-add-doorbell-transport-protocol-op.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0006-mailbox-arm_mhuv2-add-multi-word-transport-protocol-.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0007-firmware-arm_scmi-Add-fast_switch_possible-api.patch create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0008-cpufreq-arm_scmi-Set-fast_switch_possible-conditiona.patch rename meta-arm-bsp/recipes-kernel/linux/{files => linux-arm64-ack-5.4}/tc0/defconfig (69%) diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc index 644ddc1..62b1dec 100644 --- a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc @@ -73,7 +73,18 @@ KCONFIG_MODE_sgi575 = "--alldefconfig" # # Total Compute KMACHINE # -SRC_URI_append_tc0 = " file://defconfig" COMPATIBLE_MACHINE_tc0 = "tc0" KMACHINE_tc0 = "tc0" KCONFIG_MODE_tc0 = "--alldefconfig" +SRC_URI_append_tc0 = " \ + file://defconfig \ + file://0001-drm-Add-component-aware-simple-encoder.patch \ + file://0002-drm-arm-komeda-add-RENDER-capability-to-the-device-n.patch \ + file://0003-mailbox-arm_mhuv2-add-device-tree-binding-documentat.patch \ + file://0004-mailbox-arm_mhuv2-add-arm-mhuv2-driver.patch \ + file://0005-mailbox-arm_mhuv2-add-doorbell-transport-protocol-op.patch \ + file://0006-mailbox-arm_mhuv2-add-multi-word-transport-protocol-.patch \ + file://0007-firmware-arm_scmi-Add-fast_switch_possible-api.patch \ + file://0008-cpufreq-arm_scmi-Set-fast_switch_possible-conditiona.patch \ + " + diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0001-drm-Add-component-aware-simple-encoder.patch b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0001-drm-Add-component-aware-simple-encoder.patch new file mode 100644 index 0000000..7855bee --- /dev/null +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.4/tc0/0001-drm-Add-component-aware-simple-encoder.patch @@ -0,0 +1,364 @@ +From 7863ac1515009547bae3a66e0808e72b3bdcf8c8 Mon Sep 17 00:00:00 2001 +From: Tushar Khandelwal +Date: Tue, 16 Jun 2020 12:39:06 +0000 +Subject: [PATCH 1/9] drm: Add component-aware simple encoder + +This is a simple DRM encoder that gets its connector timings information +from a OF subnode in the device tree and exposes that as a "discovered" +panel. It can be used together with component-based DRM drivers in an +emulated environment where no real encoder or connector hardware exists +and the display output is configured outside the kernel. + +Signed-off-by: Tushar Khandelwal + +Upstream-Status: Backport [https://git.linaro.org/landing-teams/working/arm/kernel-release.git/commit/?h=latest-armlt&id=15283f7be4b1e586702551e85b4caf06531ac2fc] +--- + drivers/gpu/drm/Kconfig | 11 + + drivers/gpu/drm/Makefile | 2 + + drivers/gpu/drm/drm_virtual_encoder.c | 299 ++++++++++++++++++++++++++ + 3 files changed, 312 insertions(+) + create mode 100644 drivers/gpu/drm/drm_virtual_encoder.c + +diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig +index e67c194c2aca..c95279cd9341 100644 +--- a/drivers/gpu/drm/Kconfig ++++ b/drivers/gpu/drm/Kconfig +@@ -265,6 +265,17 @@ config DRM_VKMS + + If M is selected the module will be called vkms. + ++config DRM_VIRT_ENCODER ++ tristate "Virtual OF-based encoder" ++ depends on DRM && OF ++ select VIDEOMODE_HELPERS ++ help ++ Choose this option to get a virtual encoder and its associated ++ connector that will use the device tree to read the display ++ timings information. If M is selected the module will be called ++ drm_vencoder. ++ ++ + config DRM_ATI_PCIGART + bool + +diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile +index 82ff826b33cc..d2ab6fc64932 100644 +--- a/drivers/gpu/drm/Makefile ++++ b/drivers/gpu/drm/Makefile +@@ -53,6 +53,8 @@ drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o + + obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o + obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/ ++drm_vencoder-y := drm_virtual_encoder.o ++obj-$(CONFIG_DRM_VIRT_ENCODER) += drm_vencoder.o + + obj-$(CONFIG_DRM) += drm.o + obj-$(CONFIG_DRM_MIPI_DBI) += drm_mipi_dbi.o +diff --git a/drivers/gpu/drm/drm_virtual_encoder.c b/drivers/gpu/drm/drm_virtual_encoder.c +new file mode 100644 +index 000000000000..4fd2098df286 +--- /dev/null ++++ b/drivers/gpu/drm/drm_virtual_encoder.c +@@ -0,0 +1,299 @@ ++/* ++ * Copyright (C) 2016 ARM Limited ++ * Author: Liviu Dudau ++ * ++ * Dummy encoder and connector that use the OF to "discover" the attached ++ * display timings. Can be used in situations where the encoder and connector's ++ * functionality are emulated and no setup steps are needed, or to describe ++ * attached panels for which no driver exists but can be used without ++ * additional hardware setup. ++ * ++ * The encoder also uses the component framework so that it can be a quick ++ * replacement for existing drivers when testing in an emulated environment. ++ * ++ * This file is subject to the terms and conditions of the GNU General Public ++ * License. See the file COPYING in the main directory of this archive ++ * for more details. ++ * ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include