From patchwork Sun Mar 11 13:52:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131350 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113158lja; Sun, 11 Mar 2018 06:53:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELsGxrq1qzpGBIE1QBah6hosZe3CSmBkVx02MApENGa+0cTK9o+ZTso9D7rZ9t+tnGPw7V6r X-Received: by 2002:a17:902:7d94:: with SMTP id a20-v6mr5042410plm.184.1520776410610; Sun, 11 Mar 2018 06:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776410; cv=none; d=google.com; s=arc-20160816; b=GvAYx8cNEIPOOIvSaNEe0f4s2273U4y0bqmgmtiFPzigJk57DiZbWR1Tdy2Ux/MY46 ODidIikK3JZOqjiQrjps3LRKNq19Vz9PAhsIazFDdAxKjkb374OIbzyFTM7l2NA7nvTR gInjab5vyieT4uiNhaJvk2GE5wCPU/7izmjWllDgPXTWvoM3UrclXS9nvmGsRRNxvOUd Fxl2wAu8Zj60d6Cneiyq0xL7cugHG91sXk3l9LPbIgX3D0BQQUnD+WTr3ec2WpDW2pAK SZtFSUdaRTiyYdURv5woSOfVjUHrS3YKIleOQy+EL8ELOhw6i3l6Olo4MluHev3Q3UMp qg3g== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=0uZoiuGl4PkOp7c/Kiz8DouuBKLe5IwIaNUW6D9ay6Q=; b=BRq9OdRZLArvcHzkzxT/jkym/75w5wK2q4GIAVCp3naZCnfSg4KDyia+moSQbKPirx a0hnYUD4zx7u/wlyOeqNcbgnjgoQ5qfBSeYYsNkFp65vt1/gqEBh3eLxfi7fPizwiTAZ IC8YokPEsDulyU/X4c3iytr6fuu6xPmMJc1yqQrCF5fVSlcNajfSWwrx1y5EBRT1mEPY HyeHyxFID5n5YaitSnR7tZFr3mXrkRkdcF7mjpLcIR9CjChYTdT+v3p4U2sOngibx8x+ VDPQXdKu8A4jVYQLCVNu0X6veuanqE9jDiws4v3B9efn/HzJsbRRfMacTpemYA5IRLYH W1Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UGOvX2NX; 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 d7-v6si4529876plm.539.2018.03.11.06.53.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:30 -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=UGOvX2NX; 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 779E96E3C9; Sun, 11 Mar 2018 13:53:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x241.google.com (mail-pl0-x241.google.com [IPv6:2607:f8b0:400e:c01::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 21F2D6E3C9 for ; Sun, 11 Mar 2018 13:53:28 +0000 (UTC) Received: by mail-pl0-x241.google.com with SMTP id s13-v6so7859619plq.6 for ; Sun, 11 Mar 2018 06:53:28 -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:in-reply-to:references; bh=z24KjnsDuHRlVSFa6NYaLuthEVZLDhSFGCLCsqXi104=; b=UGOvX2NXq5bLzSLfyUCtTrxvRwaYU4pQurbEPWGk0itnQ1m4fYBuHwu0jbQ1m/RPwL 69jRnwLwi14DBZYGvhWBZ3Vm2DPxsejA8pJfIsWT+nyeCY2d3H0Bmtt54HDgTjHaun6j Nq5Ydiqs0XiVEHk9TkjW30C9ZFUEU8NocOo1M= 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:in-reply-to :references; bh=z24KjnsDuHRlVSFa6NYaLuthEVZLDhSFGCLCsqXi104=; b=EuHPR3JmXsz3v694CMhK6UQY48sPmsr5GzuYrhDp/Wd3as5RyechhMvWsjstu3Av1L x0zDQDEDNc22RlE8B6ET8L98hLOZLr0wPT6dKRn598IajtPmpeV4M8xEHpy3VmnRLSzZ SIbs4aCi7bgv0h9KfGVOouFf1FMve38sQIuKyKcCJfcZz+IONMcgqDWkHPv3VMK9EDNY v9vsWLHaYVOhZSUuBgDfJH6tbDF6qFKbaH0IsgAC2UArVnjm/7eh8J9cyqg0Unt2CGUd d2NTVf/ciRHF2dMw+tvlP6QXPjHcy0akIEW4W6hGMe3dgFO4Pj2Xvu5oxDMnoZ89wap/ KrQg== X-Gm-Message-State: AElRT7HOg5+a+z/Tgf82+VaSVs7073vdAxhExKLncvk78Jfep2cCsNjI lfp0BND7uEyc35ILf8B6A7/mIw== X-Received: by 2002:a17:902:c5:: with SMTP id a63-v6mr4973036pla.391.1520776407740; Sun, 11 Mar 2018 06:53:27 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:27 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/10] ARM: dts: Augment VGA connector bridge on PB11MPcore Date: Sun, 11 Mar 2018 14:52:58 +0100 Message-Id: <20180311135307.6271-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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, Mali DP Maintainers MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The PL111 in the ARM reference platforms are connected to "panels" that are actually dumb VGA DAC connector bridges. Now that we can support the proper bridges in the DRM driver, fix this up. Cc: Liviu Dudau Cc: Mali DP Maintainers Signed-off-by: Linus Walleij Reviewed-by: Liviu Dudau --- arch/arm/boot/dts/arm-realview-pb11mp.dts | 78 +++++++++++++++++++++---------- 1 file changed, 53 insertions(+), 25 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-pb11mp.dts b/arch/arm/boot/dts/arm-realview-pb11mp.dts index 3944765ac4b0..36203288de42 100644 --- a/arch/arm/boot/dts/arm-realview-pb11mp.dts +++ b/arch/arm/boot/dts/arm-realview-pb11mp.dts @@ -242,6 +242,49 @@ bank-width = <4>; }; + bridge { + compatible = "ti,ths8134a", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + /* + * This DDC I2C is connected directly to the DVI portions + * of the connector, so it's not really working when the + * monitor is connected to the VGA connector. + */ + compatible = "vga-connector"; + ddc-i2c-bus = <&i2c1>; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -575,6 +618,13 @@ clock-names = "apb_pclk"; }; + i2c1: i2c@10016000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "arm,versatile-i2c"; + reg = <0x10016000 0x1000>; + }; + rtc: rtc@10017000 { compatible = "arm,pl031", "arm,primecell"; reg = <0x10017000 0x1000>; @@ -609,37 +659,15 @@ interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; clocks = <&oscclk4>, <&pclk>; clock-names = "clcdclk", "apb_pclk"; - max-memory-bandwidth = <130000000>; /* 16bpp @ 63.5MHz */ + /* 1024x768 16bpp @65MHz works fine */ + max-memory-bandwidth = <95000000>; port { clcd_pads: endpoint { - remote-endpoint = <&clcd_panel>; + remote-endpoint = <&vga_bridge_in>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>; }; }; - - panel { - compatible = "panel-dpi"; - - port { - clcd_panel: endpoint { - remote-endpoint = <&clcd_pads>; - }; - }; - - /* Standard 640x480 VGA timings */ - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - hback-porch = <48>; - hfront-porch = <16>; - hsync-len = <96>; - vactive = <480>; - vback-porch = <33>; - vfront-porch = <10>; - vsync-len = <2>; - }; - }; }; /* From patchwork Sun Mar 11 13:52:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131354 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113529lja; Sun, 11 Mar 2018 06:54:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELuTRzrQ0ubk7gndaVuv2/E9G2QJ2LRZpvZR/W0CzlUXiS1IudGAGA4RtLUQWU5q08FF2zrb X-Received: by 2002:a17:902:467:: with SMTP id 94-v6mr4894407ple.57.1520776444933; Sun, 11 Mar 2018 06:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776444; cv=none; d=google.com; s=arc-20160816; b=GsxS4NsUj3e9Jmcwlv74ZBApUAacL5ESbSjIKFvQ+1Q+AJD8A5bBgYUx0wVYZhBs3l 5m/fPBxtCjP/3i9OIthfNfB7XHxe2Q51o1UG8TE5Nxb8/q/ea+Nf3J7Acq/qZaafKII2 +C55QkY7K81coHOm4xjH/35iyM2xxZHwY3ssB4QxmKoLxhNiU6XmzJMaOOKOvTx/BIbX Cd5lnAGFzzTvb31JkjXLAwRL6vqVrRQZq0bnV+6YktXHw0edCFIVQqUY7B56An/hZ5s4 4Y0g9vb3QleOLNCdgLgCvJT2n8DpnGRoLTjNdpA2C9rfmb/jbTZzEC00An0ijMQWOG/x FRYw== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=FQbcOII8xNVYrCdk+5XoSaiWcI24MamHdMj+0pLp2JA=; b=GaW4yZGlh87GG9UQ6PUqmfYtw1QsH5cVcwABUMl8nMjg7IFV/ptzOjAKPmojocl42H 5kdcHH2FcvB9i9XrU3PUzYc6i3P7DGTw+LLuhc4LNKMV7WLbCWjDxdFdTad/QDnYhVk6 nqwaSDgbPtlqgUnCfNREFXwdef2lC8RBssVYzMm0wXyn2A3poHMNRiVjrQpYjwxcKq6i 2TInBSTPN9oRJeVlYtVUJZmUzD2+7l5c2LFfKRrf4kSuVv9qyV+MWZ8N4Qg/wIg3CsKl yvs4I+XbITKaRecczRy3fgmqntwwcp9bswLuqctbWx59azMsyyORHNoFVAE9mYHeK6dL DaIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NLT4zChY; 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 w9si4221337pfl.193.2018.03.11.06.54.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:04 -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=NLT4zChY; 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 E59116E3E4; Sun, 11 Mar 2018 13:53:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 393E96E3E4 for ; Sun, 11 Mar 2018 13:53:33 +0000 (UTC) Received: by mail-pl0-x243.google.com with SMTP id s13-v6so7859690plq.6 for ; Sun, 11 Mar 2018 06:53:33 -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:in-reply-to:references; bh=Dxbvl/+mCyUD5UaB+2LCCwLDRPWcGSdPKXkul2WXkOA=; b=NLT4zChYebKBi0tSz9vEgEiyPADaJ9mkAsjD4boDUhxUioVkUcTia795VytLzPyEtF qgn+5FNw5UzqbUzqlObV2Ffq115VE0UX0hDTC4pJYSnrPt4dzZHZ5R37YmkerCuIRPIJ yhpSEK98T4cRTQEo9qUt5YaVBx+anJdliI5Uk= 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:in-reply-to :references; bh=Dxbvl/+mCyUD5UaB+2LCCwLDRPWcGSdPKXkul2WXkOA=; b=kMLBWAIJNBbfYvA/D7GpIKVkvJQqgwdoltk69HHy0ZRXkAaYBdzP2uoKDtH3yO9rlh tKADM2X3j3DhQoqxOhHW47UnAmW3Ub5bB8TF2wuUHAMTBoMtuURO26byv5a7nwLbviMm 2HZJ+hPc4l7OeHpdpfZIaMZhSPrWh9H+rR8DwC/sKu8G9z6MIKZBfdIPzkv65LyG4Utb iQ/Z9T03JMZeWojMJDi2KSxYSNihe4ZPcx5Vo0dlSZvnUSfURQu+SMKsT/g6q9GWaUtT h2AicR0YmzFvAeLav9Nb8A9EDULmC+Y5u4kKGzEnn28S4IwLCI/0j1Z2E5BUuT7vmNdr MPaw== X-Gm-Message-State: AElRT7E7/V4fFtbhsIU+xIA5fLCVzZ8QfPunc2iBAlKl7h+5iGyiNNSh cyRxfGPPUqpTWX3AcU3p21v4iA== X-Received: by 2002:a17:902:6a89:: with SMTP id n9-v6mr5001683plk.51.1520776412769; Sun, 11 Mar 2018 06:53:32 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:32 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/10] ARM: dts: Augment VGA connector bridge on PB1176 Date: Sun, 11 Mar 2018 14:52:59 +0100 Message-Id: <20180311135307.6271-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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, Mali DP Maintainers MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The PL111 in the ARM reference platforms are connected to "panels" that are actually dumb VGA DAC connector bridges. Now that we can support the proper bridges in the DRM driver, fix this up. Cc: Liviu Dudau Cc: Mali DP Maintainers Signed-off-by: Linus Walleij --- arch/arm/boot/dts/arm-realview-pb1176.dts | 66 +++++++++++++++++++------------ 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts index c789564f2803..f935b72d3d96 100644 --- a/arch/arm/boot/dts/arm-realview-pb1176.dts +++ b/arch/arm/boot/dts/arm-realview-pb1176.dts @@ -161,6 +161,43 @@ port1-otg; }; + bridge { + compatible = "ti,ths8134a", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + compatible = "vga-connector"; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -403,36 +440,15 @@ interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; clocks = <&oscclk0>, <&pclk>; clock-names = "clcdclk", "apb_pclk"; + /* 1024x768 16bpp @65MHz works fine */ + max-memory-bandwidth = <95000000>; port { clcd_pads: endpoint { - remote-endpoint = <&clcd_panel>; + remote-endpoint = <&vga_bridge_in>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>; }; }; - - panel { - compatible = "panel-dpi"; - - port { - clcd_panel: endpoint { - remote-endpoint = <&clcd_pads>; - }; - }; - - /* Standard 640x480 VGA timings */ - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - hback-porch = <48>; - hfront-porch = <16>; - hsync-len = <96>; - vactive = <480>; - vback-porch = <33>; - vfront-porch = <10>; - vsync-len = <2>; - }; - }; }; }; @@ -564,7 +580,5 @@ clocks = <&pclk>; clock-names = "apb_pclk"; }; - - }; }; From patchwork Sun Mar 11 13:53:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131351 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113251lja; Sun, 11 Mar 2018 06:53:39 -0700 (PDT) X-Google-Smtp-Source: AG47ELuU0nRQGp8pa2PuI4QzBAnmTuLrdquEwLYNrxY7oW9VzrK4zo6wtXFQI27Y6dhcM5zvTD/t X-Received: by 2002:a17:902:6717:: with SMTP id f23-v6mr5031000plk.188.1520776419344; Sun, 11 Mar 2018 06:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776419; cv=none; d=google.com; s=arc-20160816; b=cI6/TFnFkS/QBPrMRcMXAfio2/R3eKgOrR0D61hBEf1h6JEFfW3OBrFoEtsv7ryf2u TBsOCJSMpgV0o+q2kG7kusf+Hx8NSw5RI0R01P3+zGFB+tC9yUJJKPhuGbmnH5HfOfKl SbDk/Rvqm/yWzhbEKz1GSIFck4hlV1xF1wR4Tpo67lYcMr7Ou4m1wThuH83wJa3yaMw4 OzQKg6dUvT0GRrDXerARKE9AE0CYMwngnhd6h4Wc9Ydma3f5bcOLsu7SwKBSHN4FecgR q4Bm8jaOL24QOwHwKh104oBbdO/zej0iitjuO+qsLaZgoC8sOt7Uns4wVTE34dkw5Ayz PmAA== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=rIRZxf69+3NjMFA0f77WjqWVtiSrYulLQnr/GqJNpH0=; b=ocpUeSN1M+NALWTSpUwfIhkVQ2LtZDxMqj0J1rvCW7bqGNKUHXiV149RNOs++KNICp leY7y6jJ1bIJR/+xzIl5ADJiXZGqlNx0vf9jpq2CDh8YhpfDAcQ5DLrN4CxKg4Z6HfzW Mugsv3W3vPiFiZ0Q7tf+USDtGvF4h2o2PzM2+JygCv1ek5RmTzFqVpxOjyElK75sf6jK 64nx3rvKsz+pjscJvDpWSCTvk6JarepYffoOviSzVVY6BHTxS2eGioXe6/qJIcNH+0lo Ecys63SGTlAaCsn5XT9jCjhPW+L7VmHQrKp9w3zgEnvs5KFkQ2X+7OeXN1vKi40SKU73 NwHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FVcqHdro; 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 f2si3666359pgp.474.2018.03.11.06.53.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:39 -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=FVcqHdro; 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 34FA96E3E8; Sun, 11 Mar 2018 13:53:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6F2866E3E8 for ; Sun, 11 Mar 2018 13:53:37 +0000 (UTC) Received: by mail-pl0-x243.google.com with SMTP id 9-v6so7855686ple.11 for ; Sun, 11 Mar 2018 06:53:37 -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:in-reply-to:references; bh=UJvtrEbYkseTWJFpX3RcDIa/B2vLrnAJnFCoNL0pZm8=; b=FVcqHdro/U4M4FudywUqxFGURbCmM1Y5mK9yfWOCz4duSmgaEOp6FVrD4rTr9zUl4t h8m3JJVNWxJeHsg2zGjLVbfyocsgWnxHd3h8fI1ZQ4Iam52j2tPbpg38DvtY4a+8xlhW Hq1gX9HmAApwsQzt2jySb4jpaP9OFMA3BH+qc= 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:in-reply-to :references; bh=UJvtrEbYkseTWJFpX3RcDIa/B2vLrnAJnFCoNL0pZm8=; b=j6L729xCClu+d17yLiJrbVyr9XXFEl9eKsguAxlJ6Ia9I7tvbpcsV/dI+h3F6xHYxm L7fGxbdQw6N91LwkdH8dr2CIOGuZA32ozVEPMYa6lweSeCJ1XuyYFC0uRWFUvp0T5fI9 XoN+Kj1cLpaKsDb24dQoEyjysOxSElSJ5xwtscsrf7tL9PpteErKiFTXX9JHiFMj8xub ncsQq7IRRHLJ7lh8CVwuN2QyvrkfJOKrWDOYsnl7NvRPoZ4INdu97oek+r8bHPEYpJLT AG/woQYQyEad/Kxf+o/NSONuLJrpRpKIp29wSr2O9myR6vxtD9CXHknQqalCaA6rKFUb Wc8Q== X-Gm-Message-State: AElRT7FoNkR/4QNV546WsqKRTR+ZrzeAZKGgLs5i8hvOzFrdjbBeGKLY rnp72yj4Orvaq7lcV4sSPT4q+w== X-Received: by 2002:a17:902:63:: with SMTP id 90-v6mr5030877pla.125.1520776417131; Sun, 11 Mar 2018 06:53:37 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:36 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/10] ARM: dts: Augment VGA connector bridge on Realview EB Date: Sun, 11 Mar 2018 14:53:00 +0100 Message-Id: <20180311135307.6271-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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, Mali DP Maintainers MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The PL111 in the ARM reference platforms are connected to "panels" that are actually dumb VGA DAC connector bridges. Now that we can support the proper bridges in the DRM driver, fix this up. Cc: Liviu Dudau Cc: Mali DP Maintainers Signed-off-by: Linus Walleij --- arch/arm/boot/dts/arm-realview-eb.dtsi | 64 +++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-eb.dtsi b/arch/arm/boot/dts/arm-realview-eb.dtsi index e2e9599596e2..a917cf8825ca 100644 --- a/arch/arm/boot/dts/arm-realview-eb.dtsi +++ b/arch/arm/boot/dts/arm-realview-eb.dtsi @@ -143,6 +143,43 @@ port1-otg; }; + bridge { + compatible = "ti,ths8134a", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + compatible = "vga-connector"; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + /* These peripherals are inside the FPGA */ fpga { #address-cells = <1>; @@ -409,36 +446,15 @@ interrupt-names = "combined"; clocks = <&oscclk0>, <&pclk>; clock-names = "clcdclk", "apb_pclk"; + /* 1024x768 16bpp @65MHz works fine */ + max-memory-bandwidth = <95000000>; port { clcd_pads: endpoint { - remote-endpoint = <&clcd_panel>; + remote-endpoint = <&vga_bridge_in>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>; }; }; - - panel { - compatible = "panel-dpi"; - - port { - clcd_panel: endpoint { - remote-endpoint = <&clcd_pads>; - }; - }; - - /* Standard 640x480 VGA timings */ - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - hback-porch = <48>; - hfront-porch = <16>; - hsync-len = <96>; - vactive = <480>; - vback-porch = <33>; - vfront-porch = <10>; - vsync-len = <2>; - }; - }; }; }; }; From patchwork Sun Mar 11 13:53:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131352 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113304lja; Sun, 11 Mar 2018 06:53:44 -0700 (PDT) X-Google-Smtp-Source: AG47ELsnKBbyODplb9dEBX1+HP95tuaejXh0H1DyKoiylPL4GN+ExLBOAmAyEqJsg4fBovywOBEC X-Received: by 10.99.47.132 with SMTP id v126mr4097484pgv.42.1520776424531; Sun, 11 Mar 2018 06:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776424; cv=none; d=google.com; s=arc-20160816; b=kmN+nUA5T+d+iTtdb4GsZIwXzjWsvwyDbrl5uP9DRADRzyLcArKVigf+/WmTFH3CaO ABBjOa10aQTGvA16et86/8vj8aq4um0Z8zY70gd+GqixM2v36eL/Qjzyh98e8faZ6wSF y0EuJ01LHfAfpqoKiL8shBp+27J7pYcLwkVC97ka+eyj1TXGuli1bkOpV3Ahz6oEnnw2 KX76Qi62GyCj09T5Y+rSiMe34i59jABwMl3BAob+k9dFSweT4iyjx7i7dJEx9F+cNilA 8ZwAndM8PVcPTvDdiR/C2eOYBfGVDJyrbRQk/H6s4GKfC9aTCk/KLBcAhCRkVJQR2gM+ kV1Q== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=3ByhTD4Rl77tCETlHgKQXZX43mwGiMFGExz+wAIY3Wo=; b=Gjjkovte7zLeAuwgMRq4uMiLDsE0uHjjyLLxLekI/2X8CW0Adp1P7kcJpaXZnzEWBF O8EXID1jNFmmrqYJbZpD+LX8vwLELcvZzJNw0VE+95d4Cu5uz4v6wVQZlbQVbz8toaks UYcyKVyby3Q2j2/jYapZ7tKMQAULZyaE/JujPImb/GiQ0QDllLNO6C0otYDqS1N/1d8N 2IrPyeHtveeeuHReo6/MSY4/6KVxWgla3c0OZs7GVGEfkjVaODFycEJZpmuz0Z8yOCC4 g2seJYVEiqrZcldpskrF7pO/3qLWyb3NoqCk971q0YcbcwXUi74WQUnH6jFZqcm8nsYM E3Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Jb4G5QRX; 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 t64si3637796pgd.620.2018.03.11.06.53.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:44 -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=Jb4G5QRX; 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 66A746E3EF; Sun, 11 Mar 2018 13:53:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x242.google.com (mail-pl0-x242.google.com [IPv6:2607:f8b0:400e:c01::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22FC56E3EF for ; Sun, 11 Mar 2018 13:53:41 +0000 (UTC) Received: by mail-pl0-x242.google.com with SMTP id w12-v6so7866791plp.4 for ; Sun, 11 Mar 2018 06:53:41 -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:in-reply-to:references; bh=Ky6H6TRSO9DgsYIlGt3EI0X1Jq6Ze0jsvvVMqFz/3Bs=; b=Jb4G5QRXybtuiWutoUIUQLFpiPcZSDjOc1iVsepvB4s6uBGYns5y1Z4C9qa3CCoTXw Nwz6qqgzLzIjjfxsP8UT6TQ7clHQdaXTuED39QsNL8f53xko+BlqSyMr3i1rI7V53LO0 OJRAXaVWlAEcj2LrbhgW+a4tJcVGnYv17nRDs= 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:in-reply-to :references; bh=Ky6H6TRSO9DgsYIlGt3EI0X1Jq6Ze0jsvvVMqFz/3Bs=; b=eDkw+701QpDocyvc+i06USiWaNhOXaN9ZHXQFHEgloRwxB0NzZVokx/0tIWWnxcIXk Qau2CB3rsNzIlqNVMnPpgkni8X2mgPwYViLcA1ZQyTuTjkJLMXgr0g2SLmkG/a473AwU +39lI3RjdFizD9CldGMJiYjOVMFTX88hG7DXjakHaIsWKYP7fSU8eX1Ev0Dega1p4FG7 AXezGfeP7RquNl3GpNq+1DQuQ0lxL1LCiOVPOq6bwGZWnCHtQebtrcbHjW6XR4hZ5piT 7mkIcjo7ahmoKljr9N8m5nj+J2pbdWjiNhbJ1upv0AwZsi8HIRbYECwt75E6Gw23FYSG hiJg== X-Gm-Message-State: AElRT7HjUCiSLJ4MIcFdO+fBrISR1MJR135vqiSb8Pxm3al8wDwbdaCq kD5cLFJFCLkeOPsVPXCXhSyXNA== X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr4848052plb.115.1520776421591; Sun, 11 Mar 2018 06:53:41 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:40 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/10] ARM: dts: Augment VGA connector bridge on Realview PBX Date: Sun, 11 Mar 2018 14:53:01 +0100 Message-Id: <20180311135307.6271-5-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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, Mali DP Maintainers MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The PL111 in the ARM reference platforms are connected to "panels" that are actually dumb VGA DAC connector bridges. Now that we can support the proper bridges in the DRM driver, fix this up. Cc: Liviu Dudau Cc: Mali DP Maintainers Signed-off-by: Linus Walleij Reviewed-by: Liviu Dudau --- arch/arm/boot/dts/arm-realview-pbx.dtsi | 82 ++++++++++++++++++++++----------- 1 file changed, 55 insertions(+), 27 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-pbx.dtsi b/arch/arm/boot/dts/arm-realview-pbx.dtsi index aeb49c4bd773..10868ba3277f 100644 --- a/arch/arm/boot/dts/arm-realview-pbx.dtsi +++ b/arch/arm/boot/dts/arm-realview-pbx.dtsi @@ -34,7 +34,8 @@ serial1 = &serial1; serial2 = &serial2; serial3 = &serial3; - i2c0 = &i2c; + i2c0 = &i2c0; + i2c1 = &i2c1; }; memory { @@ -158,6 +159,49 @@ port1-otg; }; + bridge { + compatible = "ti,ths8134a", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + /* + * This DDC I2C is connected directly to the DVI portions + * of the connector, so it's not really working when the + * monitor is connected to the VGA connector. + */ + compatible = "vga-connector"; + ddc-i2c-bus = <&i2c1>; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + soc: soc@0 { compatible = "arm,realview-pbx-soc", "simple-bus"; #address-cells = <1>; @@ -285,7 +329,7 @@ <&timclk>; }; - i2c: i2c@10002000 { + i2c0: i2c@10002000 { #address-cells = <1>; #size-cells = <0>; compatible = "arm,versatile-i2c"; @@ -396,7 +440,12 @@ clock-names = "apb_pclk"; }; - /* DVI serial bus control is at 10016000 */ + i2c1: i2c@10016000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "arm,versatile-i2c"; + reg = <0x10016000 0x1000>; + }; rtc: rtc@10017000 { compatible = "arm,pl031", "arm,primecell"; @@ -506,36 +555,15 @@ interrupt-names = "combined"; clocks = <&oscclk4>, <&pclk>; clock-names = "clcdclk", "apb_pclk"; + /* 1024x768 16bpp @65MHz works fine */ + max-memory-bandwidth = <95000000>; port { clcd_pads: endpoint { - remote-endpoint = <&clcd_panel>; + remote-endpoint = <&vga_bridge_in>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>; }; }; - - panel { - compatible = "panel-dpi"; - - port { - clcd_panel: endpoint { - remote-endpoint = <&clcd_pads>; - }; - }; - - /* Standard 640x480 VGA timings */ - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - hback-porch = <48>; - hfront-porch = <16>; - hsync-len = <96>; - vactive = <480>; - vback-porch = <33>; - vfront-porch = <10>; - vsync-len = <2>; - }; - }; }; }; }; From patchwork Sun Mar 11 13:53:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131353 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113356lja; Sun, 11 Mar 2018 06:53:47 -0700 (PDT) X-Google-Smtp-Source: AG47ELuoFK/ee8qjGDwsNJGmwVB1xdgfAP9QPVc4eUz4eN4JGn7qeRhoVCAVfocUIejP4w86MYwO X-Received: by 10.99.120.199 with SMTP id t190mr3947555pgc.72.1520776427834; Sun, 11 Mar 2018 06:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776427; cv=none; d=google.com; s=arc-20160816; b=wMZt2gGQAqXaQ2kRSBSa0ZtSjz/f/zDUjgmUAxrEaUmvKFzi8azybOf3/A1xjcWVb/ 8cTKLJfbJp/HPA7ZaCwQ+8xIh/dVdrUeQPWSEdEPZ5gU5AT2ADsyq2ElyR0LjaPzytDH hctONVK36D9Bu91iwWDMFAb4+IE9gRVcvNDz2dUAbrKXYYzsfypjcuIX22JMKB0V67+9 rCeJxfNs/7y0LkCqKXIuXcj/HtWU0/uOMad6Clzry1NYRutyBYSzukayjw84BUXT9aTc z1AsSrjs0XqENnT2y0O4P/PWmzv5Nh9hZG24bFFv9ymG5Up6YgOGvOcYsKV0DraXIPgV Bp7Q== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=3VFuPDmsRMmoRBwHFIJUf7+BwHjtm8LituzSkfQI8j4=; b=lpIQzEijvjPtxXRYgTwabJAu3EuOehAw9EzlYIYDtst0J2cZHd2xAmmPKi7bt9OaNP wK03kdNgwNT32gvlFMyPvbGAA5ZVCXbfpGNfg7JvBqbRB16YUF36J9Xo0jIKOghTztLN vEmGe1qrfS5EOsN8n/WxD9GwgMuthDc86u2q/juKanQJuElK+eYBcCGC/Kk0nbxirU+g +X4GTFau1INxPQJL28wxG2YP5Y6wrunfHUHyVuua5v4wkUnOEYX6OZoGxQraFNkrrdoG RA3aQ6UfR7bOLNnoah4eDYH52k/l6OJvSngbe8gw1fLu0aYtNSBwwNL9Sa1VCmNOsD4V EUkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=V+kIeRyd; 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 l8-v6si4412716pln.153.2018.03.11.06.53.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:47 -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=V+kIeRyd; 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 C74F16E3F3; Sun, 11 Mar 2018 13:53:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 505C26E3F3 for ; Sun, 11 Mar 2018 13:53:46 +0000 (UTC) Received: by mail-pf0-x242.google.com with SMTP id a16so3232196pfn.9 for ; Sun, 11 Mar 2018 06:53:46 -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:in-reply-to:references; bh=ppiEuW+UW5OshvIH41DK1uYGhCd/OFtE2YGqZGZSHlI=; b=V+kIeRydi+bW5UAadGa55CiZtXddxNVlfIH+N6AUa9eXiIS2NtA7H7vnCgODzWXKF5 zyeCUymoh+nk7JNYnCVWLI5NiGSc7bgshia7/TmGIm1PmEV87VM2K+1V7DDUGSCkoHiW 64tjLrfzgx8DsoJwj9hhSpj1SdHL2mb2fgrJI= 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:in-reply-to :references; bh=ppiEuW+UW5OshvIH41DK1uYGhCd/OFtE2YGqZGZSHlI=; b=ke6ESPdoe0xc1k0Af94Hmh8o1/FBwKi1oK1dC/w/rRdd+dWEHtXexgk01TcudYij+Q XC62xWKNjRmqiDcglZ2wABMIox+584nPv/VdLd2lHFWJ1eKENTfqRnRQdlaJg5o79I2k kGHrzEkGmOeZ5P01zK0/iBSaYLftQ4aOIZ4TsIqsQ532FsZRudenXXYX6uRPqiK/jqkK xPxdDmyPBBB9fZoiaGyoJiklkHGc10oIXu3R3ijxrYbMLrjidFhSGdxcRDHfVwwjgQtF od071TULznab9/ChV4d6kcVg5VbeTClDZXhlMxEl23/A5T3uLLMTeY2UGO8eYbSbaNQn YQKw== X-Gm-Message-State: AElRT7EsALxNeWUdWlpLsGZGIUasqMxBGdcSfu6Y1U1BlKzL3CJBLuvc 5z9NvAOmjXSHdkaV/4hXNHf4LVpPtQs= X-Received: by 10.101.97.207 with SMTP id j15mr3953346pgv.266.1520776425748; Sun, 11 Mar 2018 06:53:45 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:45 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/10] ARM: dts: Add Versatile IB2 device tree Date: Sun, 11 Mar 2018 14:53:02 +0100 Message-Id: <20180311135307.6271-6-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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, Mali DP Maintainers MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The Versatile board can be equipped with a interface board just named "IB2". This was created in the early 2000s for prototyping GSM candybar phone form factor products. The IB2 board contains: - Cascaded interrupt controller - Enfora Enabler GSM0308 quad-band module with antenna and separate audio jack - Keypad with joystick - Sanyo 2.5" color display - A 28-pin connector for mounting a camera This adds a DTS file for the combination of the Versatile AB with an IB2 daughterboard mounted, making the LED blink and making the system controller available for drivers, such as the panel driver. The device tree bindings already exist in Documentation/devicetree/bindings/arm/arm-boards. Cc: Liviu Dudau Cc: Mali DP Maintainers Signed-off-by: Linus Walleij Reviewed-by: Liviu Dudau --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/versatile-ab-ib2.dts | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm/boot/dts/versatile-ab-ib2.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ade7a38543dc..850f36902b81 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1047,6 +1047,7 @@ dtb-$(CONFIG_ARCH_UNIPHIER) += \ uniphier-sld8-ref.dtb dtb-$(CONFIG_ARCH_VERSATILE) += \ versatile-ab.dtb \ + versatile-ab-ib2.dtb \ versatile-pb.dtb dtb-$(CONFIG_ARCH_VEXPRESS) += \ vexpress-v2p-ca5s.dtb \ diff --git a/arch/arm/boot/dts/versatile-ab-ib2.dts b/arch/arm/boot/dts/versatile-ab-ib2.dts new file mode 100644 index 000000000000..5890cb974f78 --- /dev/null +++ b/arch/arm/boot/dts/versatile-ab-ib2.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * The Versatile AB with the IB2 expansion board mounted. + * This works as a superset of the Versatile AB. + */ + +#include "versatile-ab.dts" + +/ { + model = "ARM Versatile AB + IB2 board"; + + /* Special IB2 control register */ + ib2_syscon@27000000 { + compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd"; + reg = <0x27000000 0x4>; + + led@00.4 { + compatible = "register-bit-led"; + offset = <0x00>; + mask = <0x10>; + label = "versatile-ib2:0"; + linux,default-trigger = "heartbeat"; + default-state = "on"; + }; + }; +}; From patchwork Sun Mar 11 13:53:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131355 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113822lja; Sun, 11 Mar 2018 06:54:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELtINUiazlzjap3dHscnxN+gv1ObI0LjbgLe2x8ZN+ZdBVjNPnzVsTtM5Bm6eV3VWTGruKH0 X-Received: by 2002:a17:902:bc04:: with SMTP id n4-v6mr1750531pls.97.1520776466682; Sun, 11 Mar 2018 06:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776466; cv=none; d=google.com; s=arc-20160816; b=zCNJcNISySVtGFNsVWIxviD3BIexw2tbqrz74q2pSwJzZXJqt7Aemxk3dWylxGo2R5 6kQFDeNQg5ocBrei9cNhIU1sNaN0gc30j4qSYc2LP9hH1kiRL0WpQdBuiPo/YX7lvADr T1RNiORoB1cUWc9O3AvSHjSQ6yVFDqttw1T0Eg/Kt0R7wxsanMTpWM8F6S+95HEK0YD5 cQt1N6fNy9YoKY7Q0yP+VHsjatW9mP0q6W+ALmYk4jPSNzOt3DcNWlmiHI1K2jG2LARF cJslwF/xQDezpjrYdu1lxsojV6Ban1g2rANqkPYqMMAB7JZGHp0oXupIX9KD5nyzIaV8 E0gw== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=545jHabB2myfhUb5kib8S4LABnemM92JgXoto9WaTT4=; b=QQ17DBtrUC0OK9b28Gk/zV05ihmUHs5uf/stSVYGoxVrRVdqQ2TCCqOUrYubJN77VN rtl44hlMSUy0yte4wQOGADm1u4kVCZwi8fxGvcBuj7CGu73Am/Sp1ofa3nD8fauqYrEs 0x7GwwEiIotZ+NtvVbfOF2Y2ZC3shVIDoqQFxOwSShQdjEa3LE5uofXxHwREeqhc7tCC Ayhu1onS2U5l6Qlc2M1mDrGiOocsjliR9DjmVPUw/GaTX01uTcDatNgdECNLiNUHwFs8 fEcFrYQBergZm5RN8v7671bE+4EDk6eUI4qYW8Q+ieDKyhSDkwBTUSwUJnVhvrDEFdrY /sRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YQSCsfWZ; 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 g9-v6si71822plp.265.2018.03.11.06.54.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54: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=YQSCsfWZ; 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 3F50E6E3F7; Sun, 11 Mar 2018 13:53:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0A3646E3F7 for ; Sun, 11 Mar 2018 13:53:50 +0000 (UTC) Received: by mail-pl0-x244.google.com with SMTP id w22-v6so7860632pll.2 for ; Sun, 11 Mar 2018 06:53:50 -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:in-reply-to:references; bh=ZAtU1b12TtStTJ0kSbWJyzTw3lYq0HbfZa/gH8Ujhho=; b=YQSCsfWZIqX2IO/v3Sa1k3ifS7BLsMaMieB+FwA61ql4I6d56s2681ZPsRGm+Ci5fY dzKWFdSWhteVQ70H3brjNJNV1AwlbBF4iIt0TUo3rKkCiyKM3h9/y+vRcfXJsBPTgAbH nEks1JvZu/9BB0IhCWPVaIRmkphEg0Ohx1J14= 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:in-reply-to :references; bh=ZAtU1b12TtStTJ0kSbWJyzTw3lYq0HbfZa/gH8Ujhho=; b=l5xJjAQ75RoYQFb6lt+/o2BB2NwOF11j+8Wj4fScuaNc+3uZzw30m0mydkUnUZvYXI EuJK0Mw0Xzmw+V9zUfP13gEDjZmslcoEPB/vy17cBZ6DffEtmfo7pvjsJ3YkjteSZRLj c5z7UXEtpopE90uNBRK8WPzkSYHEbgGvwQ3QS2m9ZAbHnWoywukkzJeDyeKzzhuiVHsn HY+E1DvAkj/vUv783TkgSy8mVqcbZ1CVALZwajOUWoYBlXOZXNOTgmTQFB6b44L0Mdb3 EUQUN2BFzRdNoUV0A921Pe0rKXTW4F59Yed8n4hAem5D3Yq9WfWR0QmT9tVEMgGQqqY0 3kig== X-Gm-Message-State: AElRT7HN9wvUhSFhHX5XWXJftZ5pQOnkDrg9Rl6xjIBBwKQyqwuv7/wW 4VlSLYnGyKekUzwQxXigdClcbA== X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr4845618pla.403.1520776430490; Sun, 11 Mar 2018 06:53:50 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:49 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/10] ARM: dts: Augment panel setting for Versatile Date: Sun, 11 Mar 2018 14:53:03 +0100 Message-Id: <20180311135307.6271-7-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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, Mali DP Maintainers MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This adds the actual VGA DAC bridge that is used in the Versatile AB, and sets the mode to 640x480 VGA. The "clcd" clock was incorrectly named, the proper name (from bindings) is "clcdclk". So far drivers survived by just getting the first clock, but future drivers will use named clocks. We add the panel connector to the "arm,versatile-tft-panel" as well, the signals actually fork on the board, reaching both the VGA DAC and the display connector. Cc: Liviu Dudau Cc: Mali DP Maintainers Signed-off-by: Linus Walleij Reviewed-by: Liviu Dudau --- arch/arm/boot/dts/versatile-ab.dts | 83 +++++++++++++++++++++++++++++++++++++- 1 file changed, 81 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/versatile-ab.dts b/arch/arm/boot/dts/versatile-ab.dts index 4a51612996bc..5f61d3609027 100644 --- a/arch/arm/boot/dts/versatile-ab.dts +++ b/arch/arm/boot/dts/versatile-ab.dts @@ -30,6 +30,43 @@ clock-frequency = <24000000>; }; + bridge { + compatible = "ti,ths8134b", "ti,ths8134"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&clcd_pads_vga_dac>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; + }; + + vga { + compatible = "vga-connector"; + + port { + vga_con_in: endpoint { + remote-endpoint = <&vga_bridge_out>; + }; + }; + }; + core-module@10000000 { compatible = "arm,core-module-versatile", "syscon", "simple-mfd"; reg = <0x10000000 0x200>; @@ -230,7 +267,39 @@ reg = <0x10120000 0x1000>; interrupts = <16>; clocks = <&osc1>, <&pclk>; - clock-names = "clcd", "apb_pclk"; + clock-names = "clcdclk", "apb_pclk"; + /* 800x600 16bpp @ 36MHz works fine */ + max-memory-bandwidth = <54000000>; + + /* + * This port is routed through a PLD (Programmable + * Logic Device) that routes the output from the CLCD + * (after transformations) to the VGA DAC and also an + * external panel connector. The PLD is essential for + * supporting RGB565/BGR565. + * + * The signals from the port thus reaches two endpoints. + * The PLD is managed through a few special bits in the + * FPGA "sysreg". + * + * This arrangement can be clearly seen in + * ARM DUI 0225D, page 3-41, figure 3-19. + */ + port@0 { + #address-cells = <1>; + #size-cells = <0>; + + clcd_pads_panel: endpoint@0 { + reg = <0>; + remote-endpoint = <&panel_in>; + arm,pl11x,tft-r0g0b0-pads = <0 8 16>; + }; + clcd_pads_vga_dac: endpoint@1 { + reg = <1>; + remote-endpoint = <&vga_bridge_in>; + arm,pl11x,tft-r0g0b0-pads = <0 8 16>; + }; + }; }; sctl@101e0000 { @@ -319,8 +388,18 @@ ranges = <0 0x10000000 0x10000>; sysreg@0 { - compatible = "arm,versatile-sysreg", "syscon"; + compatible = "arm,versatile-sysreg", "syscon", "simple-mfd"; reg = <0x00000 0x1000>; + + panel: display@0 { + compatible = "arm,versatile-tft-panel"; + + port { + panel_in: endpoint { + remote-endpoint = <&clcd_pads_panel>; + }; + }; + }; }; aaci@4000 { From patchwork Sun Mar 11 13:53:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131356 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113850lja; Sun, 11 Mar 2018 06:54:29 -0700 (PDT) X-Google-Smtp-Source: AG47ELs1nB+ULU+Q5jv3gQn4i9GKgs/Ijo+NT7R+DV+SLG73580yEmUZX4WbUJNQpSMoG5p8G5o+ X-Received: by 10.99.120.13 with SMTP id t13mr4075411pgc.35.1520776469718; Sun, 11 Mar 2018 06:54:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776469; cv=none; d=google.com; s=arc-20160816; b=Sp117DtvXJYs3vakTJJDpb5BSOKFhTagesLZRKB0uLEabqAJrfsOCm7Orn421QDWD6 yqLwc2/i1qzx7T7rIoiS2xlgvSbDlPv+fMswGoopd742T3p2txgaESR7IjiXVYJ9xvTW PyUTBJ7aKJyV4qR1pcmjGondZ28/1NW6lPiUucRH1H3BOerjKoRfr6OdB/DQ7KwUhQzR 6a68tE+3GG1Fu5a0lQTqBRXFwZuQ3L8bj6wkISgnrgaMudoslMzLgJccDZFRb3UnA/b6 J0g6SC4ABcX6pxaggUfXdYNNoz61Rdvrx784OsK2re0GDBAbBBP122EdQ0pxIMpIuDb/ qCQg== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=B6psyJkw90fVdD+n/R196Dpjb13wxXEeMVJIRx33JvI=; b=ALUKzQFm1JmJdKNzWKKrNJVgAyZPPkLO2haO2mtVObSmV/4l8dbB+u2a5UDZUroCpX pbzsX3XFuB41PBlxbrKu7KdGI6MQq1Td5uaiYwOsJTUu9gncygp5coJ+z9WgVf/XUceH PCNkz291wBIm7nF80jxQcYzSUwgjhFU6HVebhSZ4B2NKiPy0YfSprln9sSBsSUkt+eaC +XgI5WlrHIsmigT70oMb1msTxN8BTLPUp7hoDHzyc5i0TvIoNWqUlpd9OHTxBbjM1W1c Ht46ioWBYsNOz7m+dOQIwhOnQD8VHptVdGWDm/Q6R9g11NSwukohmlWyXGn6qNNhRn6M mGQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MztRvRBn; 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 g1si3620427pgc.726.2018.03.11.06.54.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:29 -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=MztRvRBn; 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 E77E06E35A; Sun, 11 Mar 2018 13:53:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x242.google.com (mail-pl0-x242.google.com [IPv6:2607:f8b0:400e:c01::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 458EC6E35A for ; Sun, 11 Mar 2018 13:53:56 +0000 (UTC) Received: by mail-pl0-x242.google.com with SMTP id m22-v6so7869446pls.5 for ; Sun, 11 Mar 2018 06:53:56 -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:in-reply-to:references; bh=kumu43rJlsj/6T0EcqPWud7gI0tE1UmUiZpMctMcugY=; b=MztRvRBnmuZebYnWeS+qNgIGUvnMMs0QWd9QyR9LQySJeWxYFdQ+T7IKTAAblI6f74 JKgGy5WzafHNuJJrWJqC30jbAuTqSU7iMJV3H93tb8C+wuUe0qXXsw/J7TlooZE8gkLv zUtpzH4Wsfki3a1DTMFzqMDoKRwk52XHsRooc= 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:in-reply-to :references; bh=kumu43rJlsj/6T0EcqPWud7gI0tE1UmUiZpMctMcugY=; b=QlY5GnB1BgxTC+OGUJSSSdtEX45D3GFPO9V0xFkp9pum0PXwI0OausouwErpz2VvZo VrSYzPOifBIAzrHu3L4JU9K3T9v3KfGhurHDxkHY3vsXuC8YFVbupsbw+mIpP1gYueBb 372HKxFmFoMLA85Dxsn7YThEZMJsKAVtrqqhxNuiNk7MjeEObcX5lLYDC3bwNFllyH04 otZhWPdzMZF+qQpjHwystxeV0eNAm75EPcX4NtugWJdHIxBwPfnaWCvLe3xD5pxOGBon r3jQqzfwO9GtCV3N+HYnA3XrvVOw+ZN+6VaHUYfCDkaDw8dKFuTyN99KMxSSuu9Skx0w J5qg== X-Gm-Message-State: AElRT7EZVU7kpNBQKfHMeoIurFHOMdXKgOwmoF0caruuMe7nu9mGvTVa Zs8rLCObWKKfqCIE025o1ViwDQ== X-Received: by 2002:a17:902:8487:: with SMTP id c7-v6mr5085939plo.143.1520776434477; Sun, 11 Mar 2018 06:53:54 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:53:53 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/10] ARM: defconfig: Update RealView defconfig Date: Sun, 11 Mar 2018 14:53:04 +0100 Message-Id: <20180311135307.6271-8-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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" Just update with some new results from savedefconfig so we are in sync with what has happened in Kconfig upstream. Signed-off-by: Linus Walleij --- arch/arm/configs/realview_defconfig | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/arm/configs/realview_defconfig b/arch/arm/configs/realview_defconfig index 2a6d69d896bd..95bd20b2a4d2 100644 --- a/arch/arm/configs/realview_defconfig +++ b/arch/arm/configs/realview_defconfig @@ -11,19 +11,16 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_IOSCHED_CFQ is not set CONFIG_ARCH_MULTI_V6=y CONFIG_ARCH_REALVIEW=y -CONFIG_REALVIEW_DT=y CONFIG_MACH_REALVIEW_EB=y CONFIG_REALVIEW_EB_ARM1136=y CONFIG_REALVIEW_EB_ARM1176=y CONFIG_REALVIEW_EB_A9MP=y CONFIG_REALVIEW_EB_ARM11MP=y -CONFIG_REALVIEW_EB_ARM11MP_REVB=y CONFIG_MACH_REALVIEW_PB11MP=y CONFIG_MACH_REALVIEW_PB1176=y CONFIG_MACH_REALVIEW_PBA8=y CONFIG_MACH_REALVIEW_PBX=y CONFIG_SMP=y -CONFIG_AEABI=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_CMDLINE="root=/dev/nfs nfsroot=10.1.69.3:/work/nfsroot ip=dhcp console=ttyAMA0 mem=128M" @@ -46,7 +43,7 @@ CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_ROM=y CONFIG_MTD_PHYSMAP=y -CONFIG_ARM_CHARLCD=y +CONFIG_MTD_PHYSMAP_OF=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_NETDEVICES=y @@ -59,7 +56,6 @@ CONFIG_LEGACY_PTY_COUNT=16 CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y # CONFIG_HW_RANDOM is not set -CONFIG_I2C=y CONFIG_I2C_VERSATILE=y CONFIG_SPI=y CONFIG_GPIOLIB=y @@ -72,8 +68,6 @@ CONFIG_LOGO=y # CONFIG_LOGO_LINUX_VGA16 is not set CONFIG_SOUND=y CONFIG_SND=y -CONFIG_SND_MIXER_OSS=y -CONFIG_SND_PCM_OSS=y # CONFIG_SND_DRIVERS is not set CONFIG_SND_ARMAACI=y CONFIG_USB=y @@ -83,13 +77,14 @@ CONFIG_MMC=y CONFIG_MMC_ARMMMCI=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y -CONFIG_LEDS_VERSATILE=y CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_DS1307=y CONFIG_RTC_DRV_PL031=y +CONFIG_AUXDISPLAY=y +CONFIG_ARM_CHARLCD=y CONFIG_VFAT_FS=y CONFIG_TMPFS=y CONFIG_CRAMFS=y From patchwork Sun Mar 11 13:53:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131357 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113904lja; Sun, 11 Mar 2018 06:54:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELsd3EbGxARoFuIdrdyevBNKqRJSNCplMvdjzl870nwxxXPKqpZ+gofVbxldbDz/92RFffzS X-Received: by 2002:a17:902:59d3:: with SMTP id d19-v6mr4940405plj.356.1520776475911; Sun, 11 Mar 2018 06:54:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776475; cv=none; d=google.com; s=arc-20160816; b=jcjvJHqIJdy/ntzDBsfQaKdYYdpWtN4KkMfUYasD0zPl+7JtCHdv1RoO79fdEKCLeN jTiTLwwAM+1Rf8WApsQAA9S3d2epSNyDESz0QSxWF/yH6xzzG/MPiVsYmNGsRuIryvBO Omc5qcAs5hJpPmNPprR5mcBc8tFWAsGECR9hS+VMZFkolOIZkbcgE6y4+LPFmgx6jjaG UoWUqX0y4mgvOqUppbgVsuuB0uho5Qzd48Xlc0An2H6TnLp0Qp3zGVsVNETcLTZ78/iN Y8+Wd6XefbZDUo7nmgCbJBnsdGhWaafclo/Taet44dmC9bfUife9IdQzNu+l6O+kKJKL cH/w== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=KGBwaT9NxseZ/279IO8+6GSIWBzFAo2XlbXKoGvd78w=; b=vMqHBzXa7ZY95s/bN194Oh4BhiWsiO/xVrXHACngSMdp2quMrU7BPCd5WDtmrBmQEe dOGoRF6zW2MVjkCVyY7eKJYsUDJx4FiYLnkiYM1FNJeRm8qTPlx6cwPmGWxV2rUhrOWS uFT7og5j8R//+bcauqyPZ7dwjEuVFQuJE/tqhVlFi0z6FzP2oyhv9uE7L8uJkMotCjHj XBLxPUjudbFV33TTFJKV081nwFWK/Ju9heqZLOTalVaZVnPEdmjFM2tPtzTNIrs+zVT8 f+4W5DKQ4j21yivzNDjtRq8J7cOhPB3VUhoBNvDWiGZn5ABM2n8qti7cp81G8cgXIIQV /79Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hmehmCGv; 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 m32-v6si4443918pld.125.2018.03.11.06.54.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:35 -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=hmehmCGv; 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 D5F726E3E2; Sun, 11 Mar 2018 13:54:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF91D6E3E2 for ; Sun, 11 Mar 2018 13:54:02 +0000 (UTC) Received: by mail-pf0-x242.google.com with SMTP id m68so86898pfm.11 for ; Sun, 11 Mar 2018 06:54:02 -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:in-reply-to:references; bh=Se0szfSLIOVe79cEVY6YejoIiSEea81kGHjBYb/yrqg=; b=hmehmCGvqOTmyX3mb7T+2ppT9G8kV0tr9n+J2FH10g2S7H6+cTgudOqpfjjJvfOB8a Erg7NsdDR/vON4BYvSyfhZ7FKbTamGrId2mdi8rV5wsKzlJq5ytXi4ycwAiVLT6rPGx/ C8kuRvnEnBeSnmsvX6OrtC3CsDA2jAuTpiDVY= 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:in-reply-to :references; bh=Se0szfSLIOVe79cEVY6YejoIiSEea81kGHjBYb/yrqg=; b=HHxaAIPdT8h0LQyQ8cnCx7VvIUKG9EXgUb3FjrjvSsfIj40sBYvP9CCPx+EC1rEULO YxXh4P3INBeysJhRCIH+HHbz+6K+yEhpJpN2T48sE+xgKHJ+1EeDOhQQuh0flkz2mvZh OTQPxV8Av4WFq3gFwVUxucDByTpXmvRI7m8wFOtrKubPCJk/tps7+5r//LZp1+WBi6bk X/7XL8TmlkcyiKC3grHzcIUUDOj8OP76oflnFJEKMfjw23srMGNn5Ep+2XJslI5M6Zf6 3yeFIYFpyqy23+Abo9DP0fY41/abFrjFybfBmmzEO1irrn1pu8ubwoqhZAPaEyzdX9dj Jjaw== X-Gm-Message-State: AElRT7FChd31VlWKXpZoZ+QygQ30eNcD/SUI4bXMoHsWvYjExja53Csc XobjPW2uTXcWfghCEz0zbI88+A== X-Received: by 10.99.113.83 with SMTP id b19mr1427488pgn.167.1520776442587; Sun, 11 Mar 2018 06:54:02 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.53.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:01 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/10] ARM: defconfig: Switch RealView boards to use P111 DRM Date: Sun, 11 Mar 2018 14:53:05 +0100 Message-Id: <20180311135307.6271-9-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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 DRM driver is now finalized for the RealView board family, so switch the defconfig to use this driver instead of the old fbdev driver. Signed-off-by: Linus Walleij --- arch/arm/configs/realview_defconfig | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/configs/realview_defconfig b/arch/arm/configs/realview_defconfig index 95bd20b2a4d2..cc9fa24d4b8f 100644 --- a/arch/arm/configs/realview_defconfig +++ b/arch/arm/configs/realview_defconfig @@ -21,6 +21,7 @@ CONFIG_MACH_REALVIEW_PB1176=y CONFIG_MACH_REALVIEW_PBA8=y CONFIG_MACH_REALVIEW_PBX=y CONFIG_SMP=y +CONFIG_CMA=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_CMDLINE="root=/dev/nfs nfsroot=10.1.69.3:/work/nfsroot ip=dhcp console=ttyAMA0 mem=128M" @@ -60,9 +61,12 @@ CONFIG_I2C_VERSATILE=y CONFIG_SPI=y CONFIG_GPIOLIB=y # CONFIG_HWMON is not set -CONFIG_FB=y -CONFIG_FB_ARMCLCD=y -CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_DRM=y +CONFIG_DRM_PANEL_SIMPLE=y +CONFIG_DRM_PL111=y +CONFIG_FB_MODE_HELPERS=y +CONFIG_BACKLIGHT_LCD_SUPPORT=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set From patchwork Sun Mar 11 13:53:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131358 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3113963lja; Sun, 11 Mar 2018 06:54:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELvbLQR6HVZRBwMysziRqciEfvaenhoLikNhqEDIfzpXY5SoZ8UlZ9O+oJc1qhYix53bATy+ X-Received: by 2002:a17:902:4581:: with SMTP id n1-v6mr4909149pld.135.1520776480042; Sun, 11 Mar 2018 06:54:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776480; cv=none; d=google.com; s=arc-20160816; b=AlwtKo0hy/EBbdxL0I47EispRkH6RccaznGBpbi5LCVV1Sf8BerMkKdU9wl7fWx6Dg Ii8FSfHx5fQk1dwhCQZGb9ee4RYKbwf+jT8ZiaewAq5xeQpHTonDOVgoKzfdU0FAkYDo PG7cOPrBcke0y0WrQj1XC9JZ99FcXKBB6EbyqSe8m8CZFBOKF8Utiud8Eu9Q4OIZ3gnu dQl5V4OTJM67/KfoOyYc3Lcy5dRyCSbhmP2zDIxwlJS7q/KX25wjzDcm8JtLi7lswLq7 aZ1tMpD/xLO6CyhtpJ5UXu1aig6h4Urkmv5NQYswBbbILa1i8Gvq6n36SgP1c5qvaxch 0cgg== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Kqv3CUhHMVTBn0h07QO5JK/2sMuun9zlA6eRgKvjjMM=; b=V7ZtXxa7vfAS7wJNLw681aMgN9cwmj//IzM0L/+4v5pZ132NhAvmEswtrK5Q2DpRzg UGi2M1TYCj+HQpiEg6KiWnknsR3/uZ/jHaIpd/yj0k5gOlEZfLH/yCOlxrfHZx+cy20e hBlH6EO+BjGqAG3F3V3TU28xuvgsa/2qjBmo2AyLr19V02Ml4SrFC7MPwoNridsQyzwp d8Jju5JKAg8LHx8NQk6xIwG84HOr7zHNlXFMuL/lhjV7Wsu2x8iN/Rw7NHhBHV6Nc0L5 ZCzC5zmSuo7r7MRJrkSfc1EEkhJa5rjuZXGJDtajHSyOMVEKdkINPr4jRn9im3ysyUlL aT7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JqifanqI; 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 d37-v6si4363241plb.231.2018.03.11.06.54.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:40 -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=JqifanqI; 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 B30CE6E3E3; Sun, 11 Mar 2018 13:54:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7A4486E3E3 for ; Sun, 11 Mar 2018 13:54:07 +0000 (UTC) Received: by mail-pf0-x243.google.com with SMTP id x1so3235175pfh.7 for ; Sun, 11 Mar 2018 06:54:07 -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:in-reply-to:references; bh=4VBJpqhcWyssFgzGU1Jgs2sJZNvGZvpJB5Rg37VNMa4=; b=JqifanqIFZaTa+PM8KWRPCewRSIY6mLL49D46fwxaxZA6IQFAEgy9qDAO7hFrpV287 Ii92Wqv1Cx52p4T7as7O0RI7blSf1Z8m/9hHU6PdzDF7ojnAy1E+E85fDwoUopCzXS79 MIP08YE6/6iG9eJYodRFyG0CAzbVxhRkG6Wvc= 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:in-reply-to :references; bh=4VBJpqhcWyssFgzGU1Jgs2sJZNvGZvpJB5Rg37VNMa4=; b=JpVjTGfRCn+psFerfqDvXYORq5fqlRwpDkzqvVdR+3rZiPz4zu97zZEEJljitmNlqd xYwGjfyBat7UJorYQyXzl8qYejk61mJVBNjiydkOyD28zXFpnXb4ThpGOKNJOu6SdWvQ 60tCYEZTwxeXYV0UQ3udLx2w99zht/z+EoD3Y01+2PvnKoGiYZNXZMCHFev9VLErhQSo 5Q0UNc7WBYlSoYa6QDDp4a7oeQiddge4404gh/J/N5Nd2NT5n4dpT7JBnk7QtfEaQFjH yfsQL35EU6knAcDFmH/+RtaYwdZQTXjfwavNP3/v7a7Bysoqon10o0EtO6D4PycF99tX rHsQ== X-Gm-Message-State: AElRT7GBDQo6O+6vl9rH+uEMNHcU82CWAEi7UrFuzoJlj5oJt2n+e605 sJ7BQmiVl9+RaCm8edAU7OfI2qnqkfA= X-Received: by 10.101.96.212 with SMTP id r20mr4002298pgv.139.1520776447005; Sun, 11 Mar 2018 06:54:07 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.54.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:06 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/10] ARM: defconfig: Update Versatile defconfig Date: Sun, 11 Mar 2018 14:53:06 +0100 Message-Id: <20180311135307.6271-10-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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" This updates the Versatile defconfig to the latest savedefconfig results reflecting changes in Kconfig. We add in the Flash memory support that has been available upstream for a while now. Signed-off-by: Linus Walleij --- arch/arm/configs/versatile_defconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/configs/versatile_defconfig b/arch/arm/configs/versatile_defconfig index 295408ea9dc7..6a3e5774247e 100644 --- a/arch/arm/configs/versatile_defconfig +++ b/arch/arm/configs/versatile_defconfig @@ -32,7 +32,9 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_CFI=y CONFIG_MTD_CFI_ADV_OPTIONS=y CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_OF=y CONFIG_BLK_DEV_RAM=y CONFIG_EEPROM_LEGACY=m CONFIG_NETDEVICES=y @@ -54,14 +56,11 @@ CONFIG_SPI=y CONFIG_GPIOLIB=y CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set -CONFIG_MFD_SYSCON=y CONFIG_FB=y CONFIG_FB_ARMCLCD=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_SOUND=y CONFIG_SND=m -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m CONFIG_SND_ARMAACI=m CONFIG_MMC=y CONFIG_MMC_ARMMMCI=y From patchwork Sun Mar 11 13:53:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131359 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3114036lja; Sun, 11 Mar 2018 06:54:45 -0700 (PDT) X-Google-Smtp-Source: AG47ELtbuQo+2iF0ghOUjrsKtmMm5oR774PlF5qjVFOCZTuymtUTMHeCkBoEl/9Q4CAwvaBs2gzr X-Received: by 10.98.211.1 with SMTP id q1mr4829297pfg.199.1520776485245; Sun, 11 Mar 2018 06:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520776485; cv=none; d=google.com; s=arc-20160816; b=afU/UkxhRaeFke5wvooGh1i8NXc3vezch7CI+4QOqVozDQ5h1vG/4mJWZUbZGO/V6J n4tyvffNYpRxOsPsKclksAiF2SAooSpGOq4/5GAqxGa086w9jd3uvxjgDOPmrlsnxmd4 tlx8HmvaZg4r7UgGsa+SdBJQQYz3A9inAIWqvcT9jgqDmJcgcxf3hDX9H9htR9ymZKKo 8nlQ3E0UlXpWBgeETwPhIh2fFJAbCnfgxySrc1UE6in0WXlATjuvuhQTfAK/qpcvlgSw kDcF5CnWCfI+Ft5pahapjvlFH6AmBI7ouU5/ssQX1jm6J8BvmHEQSFUeOGjqqwBxsZd7 p7Qw== 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:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=cQXFug97eJV5nDC6RfX7mEUsSvo1HAFXdXuxgKM2Zuw=; b=x595W/LKABKqe9JDCtMHonWjoBI19XLQ2BUfFY0OoVe3JKOz+hXccKIBbKNIN1dXOE jyGk128hey2txBUoXvZIQLebZz/WEQM8SBMxo7fRfMtaa14yw3t31CHw4bIMYy3OLch7 Loxnf8IEAFj+XCYzjSXCuzVhhNZOXD5Vz8nBG0rKYkRveBduUEiTcd6CQxd4JOLlW5Ys m5k2KqIyi9qQH+Pw2eNDqJg2UfqhhAoqHuXD1/JAAk0qwEkft7EWGN9bBZGvX1t+ybif CR4bYlMNxKtEICfaaTjZyVeta1HG/OpCqT0YcYkKkJvHLvwZvtm69Mocla66vlqY1daG hbJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ddtjif/J; 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 t74si4229374pfk.160.2018.03.11.06.54.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:45 -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=ddtjif/J; 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 70E816E3F5; Sun, 11 Mar 2018 13:54:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 327376E3F5 for ; Sun, 11 Mar 2018 13:54:12 +0000 (UTC) Received: by mail-pl0-x244.google.com with SMTP id 9-v6so7856155ple.11 for ; Sun, 11 Mar 2018 06:54:11 -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:in-reply-to:references; bh=ofWAASrkzA4v6V1YYE8ot+PlyIMAu5UAkudeZmjA2ck=; b=ddtjif/Jzpjvg0uVQc1EEMJ2UrAyV89SeDGZKjcmfuz6rghXXCFi8TMX9Qq0UTXyoi 7DQezHiBwc65UstyZykqqAvbwwb4sXKLm1LxKkO5GRHkLRVefw7EGE4JZZ2cvp2/ToiI KTJ+c80abdwKZsVYPEt70kWJuxl0K4ZA4hPoE= 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:in-reply-to :references; bh=ofWAASrkzA4v6V1YYE8ot+PlyIMAu5UAkudeZmjA2ck=; b=fRAc3o06vXPQuwWkkL52rWr5isKXa+oBYMo3eF5BpFVrY1cSImosI7xMNK6YGlh8U8 VHX7oCDjmKbq4SP1ojYo42aXxIHohFgHyq7UIyQIcGQ/pXICRVj+TYX+xCeU4RW/Fj5U H0opZ+guUnAY0etrYF6FQ84gMqPnYD6cSv6yfSlVTpyxeGW9ejgDqAOnWBv1JcwvyImB SBvaJzy7IS+tIifE+tWysCS2z1NLVVZPMVPjw2lmTapdedIK3cmDMk3usufpQGDjDbTN xDWx9/K6fhNDSJ/wDc6RePkydxyBe4UyueWVpXxwPNxjw+4yVYQ2cE+DaqQg16Qz/k3l /Vmw== X-Gm-Message-State: AElRT7EugXM4tuOTjEongymXXuZUJX4T7l0NVQSdI7rWpazzWzIMnFIL JDfFZ+sQSdQxhR7YQyEiICmZ0A== X-Received: by 2002:a17:902:6582:: with SMTP id c2-v6mr4976964plk.189.1520776451709; Sun, 11 Mar 2018 06:54:11 -0700 (PDT) Received: from localhost.localdomain ([183.78.63.160]) by smtp.gmail.com with ESMTPSA id t16sm12318721pfm.69.2018.03.11.06.54.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Mar 2018 06:54:10 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/10] ARM: defconfig: Configure Versatile boards to use PL111 DRM Date: Sun, 11 Mar 2018 14:53:07 +0100 Message-Id: <20180311135307.6271-11-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180311135307.6271-1-linus.walleij@linaro.org> References: <20180311135307.6271-1-linus.walleij@linaro.org> 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 DRM driver is now finalized for the Versatile board family, so switch the defconfig to use this driver instead of the old fbdev driver. Signed-off-by: Linus Walleij --- arch/arm/configs/versatile_defconfig | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/versatile_defconfig b/arch/arm/configs/versatile_defconfig index 6a3e5774247e..df68dc4056e5 100644 --- a/arch/arm/configs/versatile_defconfig +++ b/arch/arm/configs/versatile_defconfig @@ -12,6 +12,7 @@ CONFIG_PARTITION_ADVANCED=y CONFIG_ARCH_VERSATILE=y CONFIG_AEABI=y CONFIG_OABI_COMPAT=y +CONFIG_CMA=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_CMDLINE="root=1f03 mem=32M" @@ -49,16 +50,20 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_RSA=y CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_I2C=y CONFIG_I2C_CHARDEV=m CONFIG_I2C_VERSATILE=y CONFIG_SPI=y CONFIG_GPIOLIB=y CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set -CONFIG_FB=y -CONFIG_FB_ARMCLCD=y -CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_DRM=y +CONFIG_DRM_PANEL_ARM_VERSATILE=y +CONFIG_DRM_PANEL_SIMPLE=y +CONFIG_DRM_PL111=y +CONFIG_FB_MODE_HELPERS=y +CONFIG_BACKLIGHT_LCD_SUPPORT=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y +CONFIG_LOGO=y CONFIG_SOUND=y CONFIG_SND=m CONFIG_SND_ARMAACI=m