From patchwork Sun Mar 11 13:52:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131349 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113117lja; Sun, 11 Mar 2018 06:53:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELuIRxRIoZK3XuQEvvcDqNuSNiLUG6mkqiXrtC4f21n4x/qGN9/eplu0qUZoAWcSzfjv4AtS X-Received: by 10.98.200.80 with SMTP id z77mr4712682pff.85.1520776406397; Sun, 11 Mar 2018 06:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776406; cv=none; d=google.com; s=arc-20160816; b=WvPI2gExF6vNlI5xstz6Zx5n0Okw8lg3AuGENnz3ZSmJGpzw52VNv85pDh8Kh7SerB Jf4sh7df7K5xW17+pfhgePXNx5ZGf5cp1/tvqvbp93yjRnUzgHjgIv4ZymCwJcBK2u2x JdqDNxXlXZRmLbDxzzqRa7zs8/d1BLMTZl0YPpxvX5AR/PJg+ht4PR1TxmfTkn2/j8aq KAvexjukG5aiKFMNPS7PI7jgrPunBRlksHckBNY3+shvetabJTPWl8uW8qu58jqVbdr6 Mg+z+M1++ObdZnlj9FhvGj2rxYSQ2o0dfu9Yd4y3lPO4MJOScZHLogYbbANbHYh0UCiZ TreQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=KD61ek8PuyZS4P2ZTFG1ysTya4PJrnO0OhmTDyjLUv0=; b=tDb5SxqsdQm4fdHRP7x0JMNGpqsF7pbSxYFLligSSJmCTmPT1Z8exPzWXxC5Wzsii3 ACbbccUqdHmeSjOSPhCK6c+6B6DE84rKMP4dvL0Nf5ulQHEDSdntLgcwhYBoh+5aEq/h B1wMxE4A9qnQ9wBdVBN/js79Lw+GlRWZfkq2PI2wxi1O2dgU2HNlZYbZ/yv5HDVws1if 58FeLHZr0WDgtAEawuM9qbmKCYTQilKeiDAZNWYZS/WnjDM3R3ATWZ+z2ZTd3nMpAHXI sWtwWe00yPLtPCBhttHomEGinyyKjDBRKWhyB5z+GijNU2bkLPgPUCK/HGWyt0K9eVS/ SOWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jv/8LuO0; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id n3si3690026pgc.12.2018.03.11.06.53.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jv/8LuO0; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 317F66E340; Sun, 11 Mar 2018 13:53:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x231.google.com (mail-pl0-x231.google.com [IPv6:2607:f8b0:400e:c01::231]) by gabe.freedesktop.org (Postfix) with ESMTPS id B5CCB6E340 for ; Sun, 11 Mar 2018 13:53:22 +0000 (UTC) Received: by mail-pl0-x231.google.com with SMTP id 9-v6so7855504ple.11 for ; Sun, 11 Mar 2018 06:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=cg2wutY/WQdfoq2wFFvkPMssU2DFRHx2SiM8qcSSZWI=; b=jv/8LuO0gufI5P1R8T/NE0NfsIxso56J7bZ7okv2CfupSGJXgHIr4/2XdRqd8UZfV8 FwJF+ssk2Wjfezj4dIY7ZsgYmbP5+E3L1+vrHYtfBrJMlgLQskHDii3dyFgOCnrK5oZu 5d6UXQoMZ6OGLTrEVEcPw87HiJrhyK25CtT6w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cg2wutY/WQdfoq2wFFvkPMssU2DFRHx2SiM8qcSSZWI=; b=c3ZQd5zFFpFegyFXx7+2JfBqJxb95v0EIfRdzIWzE/BTUH1ZcmGTeEzut8gsjUFGLf goasdzCrRlwch/zoIiLWGW6uy56ZkEx89sb81mf87uLtyMmK8rsqIfNvHd3+eCOjN6xr g/N4cUlUbnbaZQz6suhe/3uPfA0s8ZnhofBM1Q/pWObckAa9EvnCYEYUdQOn0AIknHvd whIvFXKc0Xo6aKeSc8fNR5MWuJL4pTztwLeWlqY3+YY/ah/t+hKv3B3uuxRN4TU3CD74 iseoZgFNG4KJ6akJlZerBoDPzpaBIckxlA+PEYRaCdCFEPYmAFgPGrqauYkil0BXKWU4 6enQ== X-Gm-Message-State: AElRT7EFJ4ZMp3qygoKiO3rtkzOM/nVx74vegGiQJY8kVG5Ulr2akTv2 cRJKDe1ZW/oXz8B0vTKnNMsCJQ== X-Received: by 2002:a17:902:bd46:: with SMTP id b6-v6mr4872986plx.247.1520776402222; Sun, 11 Mar 2018 06:53:22 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:21 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/10] Switch Versatile and RealView to DRM Date: Sun, 11 Mar 2018 14:52:57 +0100 Message-Id: <20180311135307.6271-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Liviu Dudau , dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The ARM Versatile and RealView platforms have enough support merged for v4.17/next that we can fully switch them all over to using the DRM PL111 driver instead of the old fbdev driver. Integrator and Versatile Express will follow. The device trees are augmented with the proper VGA bridges instead of "panels" that were never correct, the maximum memory bandwidth is augmented and these platforms can now in many cases support 1024x768 in 16bpp instead of only 640x480 with 32bpp. If the board has the IB1 or IB2 daughterboard mounted, the daughterboard display will take precedence over the VGA connector. The IB1 daughterboard which connects a number of various displays does not need any separate device tree: it will be autodetected. For the Versatile CP with the IB2 daughterboard we need to add a new device tree, as it has a system controller we need to access and a few other features we may want to make use of in the future. (It already has proper device tree bindings in place.) This has been tested on: - RealView PM11MPCore - RealView PB1176 - Versatile AB with and without the IB2 daughterboard - All applicable QEMU models: RealView EB, RealView PBA8, RealView PBX-A9 and Versatile AB. I'm planning to send this as two pull requests: one for the DTS changes and one for the defconfig changes. Linus Walleij (10): ARM: dts: Augment VGA connector bridge on PB11MPcore ARM: dts: Augment VGA connector bridge on PB1176 ARM: dts: Augment VGA connector bridge on Realview EB ARM: dts: Augment VGA connector bridge on Realview PBX ARM: dts: Add Versatile IB2 device tree ARM: dts: Augment panel setting for Versatile ARM: defconfig: Update RealView defconfig ARM: defconfig: Switch RealView boards to use P111 DRM ARM: defconfig: Update Versatile defconfig ARM: defconfig: Configure Versatile boards to use PL111 DRM arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/arm-realview-eb.dtsi | 64 +++++++++++++++--------- arch/arm/boot/dts/arm-realview-pb1176.dts | 66 ++++++++++++++---------- arch/arm/boot/dts/arm-realview-pb11mp.dts | 78 +++++++++++++++++++---------- arch/arm/boot/dts/arm-realview-pbx.dtsi | 82 ++++++++++++++++++++---------- arch/arm/boot/dts/versatile-ab-ib2.dts | 26 ++++++++++ arch/arm/boot/dts/versatile-ab.dts | 83 ++++++++++++++++++++++++++++++- arch/arm/configs/realview_defconfig | 21 ++++---- arch/arm/configs/versatile_defconfig | 18 ++++--- 9 files changed, 317 insertions(+), 122 deletions(-) create mode 100644 arch/arm/boot/dts/versatile-ab-ib2.dts