From patchwork Sun Sep 2 10:11:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Summers X-Patchwork-Id: 10585095 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27669112B for ; Sun, 2 Sep 2018 10:11:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11F0829B63 for ; Sun, 2 Sep 2018 10:11:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01B3D29B69; Sun, 2 Sep 2018 10:11:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 986E929B63 for ; Sun, 2 Sep 2018 10:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=raHLdNrd0axf+G6+M6Cr+8324JF1/1frbrS3LviTuZg=; b=YQ6CYug00IfgVV 0tIO/HsnxmGwD0uW1sFGSSf9mXZpaNIKooxny+4HEzUtT2laDJxdwEqA1iPVJdSDAiqebyZFO7QIB mgpv9XsvlZeen8mvZwoqIpCLyERoR4iWmoRUm77MQTb5NI7JKg2k6H+s/RrhVmkCuY1YE4Fi5uNk0 GpgRP1lfn+p+qlV0toSLiquKFj6arwn+NUnx1qYwrqMPc/8KUeghIdkPk5u+IYNJ0JWyTLiZbXD4b S9ZsstxE5bdjub5ISj5NY2qVmsu5kGLMd1Y+yfn7ZPGC0Vn1SHZtK4KZep2Q+VAfSUNChbf0UIlxc PWjO3yXOIU07N1mqM+zw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwPLt-0008B7-IL; Sun, 02 Sep 2018 10:11:29 +0000 Received: from mail-gw.unlimitedwebhosting.co.uk ([149.255.60.82]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwPLp-00088y-UV for linux-rockchip@lists.infradead.org; Sun, 02 Sep 2018 10:11:27 +0000 Received: from uwhbsf01.unlimitedwebhosting.co.uk (mail-gw.unlimitedwebhosting.co.uk [149.255.60.72]) by mail-gw.unlimitedwebhosting.co.uk (Postfix) with ESMTPS id 7C2F4633EB6C for ; Sun, 2 Sep 2018 11:11:13 +0100 (BST) X-ASG-Debug-ID: 1535883072-05541365c76d74af0001-fBy1Pp Received: from cloud515.unlimitedwebhosting.co.uk (cloud515.unlimitedwebhosting.co.uk [149.255.58.109]) by uwhbsf01.unlimitedwebhosting.co.uk with ESMTP id gp6pnbbq4yZB9qWn (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 02 Sep 2018 11:11:12 +0100 (BST) X-Barracuda-Envelope-From: beagleboard@davidjohnsummers.uk X-Barracuda-Effective-Source-IP: cloud515.unlimitedwebhosting.co.uk[149.255.58.109] X-Barracuda-Apparent-Source-IP: 149.255.58.109 Received: from 240.42.113.87.dyn.plus.net ([87.113.42.240]:63364 helo=[192.168.1.65]) by cloud515.unlimitedwebhosting.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fwPLa-004QuU-13 for linux-rockchip@lists.infradead.org; Sun, 02 Sep 2018 11:11:10 +0100 To: linux-rockchip@lists.infradead.org From: beagleboard@davidjohnsummers.uk Subject: [1/3] Device Tree for ASUS Tinker Board S Message-ID: X-ASG-Orig-Subj: [1/3] Device Tree for ASUS Tinker Board S Date: Sun, 2 Sep 2018 11:11:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Language: en-GB X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud515.unlimitedwebhosting.co.uk X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - davidjohnsummers.uk X-Get-Message-Sender-Via: cloud515.unlimitedwebhosting.co.uk: authenticated_id: davidjoh/from_h X-Authenticated-Sender: cloud515.unlimitedwebhosting.co.uk: beagleboard@davidjohnsummers.uk X-Barracuda-Connect: cloud515.unlimitedwebhosting.co.uk[149.255.58.109] X-Barracuda-Start-Time: 1535883072 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://149.255.60.72:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at unlimitedwebhosting.co.uk X-Barracuda-Scan-Msg-Size: 2039 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.0 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.56736 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 NO_REAL_NAME From: does not include a real name X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180902_031126_123606_5C998C93 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, The ASUS Tinker Board S : https://www.asus.com/uk/Single-Board-Computer/Tinker-Board-S/ Is a variant on the original ASUS Tinker Board, the main difference being that the "S" has eMMC. This patchset sets up the device tree for the "S". It is based on the patches used with the debian distribution which ships with the device : https://github.com/TinkerBoard/debian_kernel/blob/develop/arch/arm/boot/dts/rk3288-miniarm.dts So this is really just mainlining the support. I've split the changed into three parts: 1) This part - just creates a new dts file that is a copy of the tinker board, with just a name change 2) Changes needed to add the eMMC 3) Changes needed to enable wifi This is the first patch I've done for linux - so if I've got anything wrong, just let me know and I'll correct. Also any comments you have. Regards, David Summers diff -up linux-rockchip/arch/arm/boot/dts/rk3288-tinker*.dts --- linux-rockchip/arch/arm/boot/dts/rk3288-tinker.dts    2018-09-01 13:16:55.637645728 +0100 +++ linux-rockchip/arch/arm/boot/dts/rk3288-tinkerS.dts 2018-09-02 09:57:55.090964465 +0100 @@ -9,8 +9,8 @@  #include  / { -    model = "Rockchip RK3288 Tinker Board"; -    compatible = "asus,rk3288-tinker", "rockchip,rk3288"; +    model = "Asus Rockchip RK3288 Tinker Board S"; +    compatible = "asus,rk3288-tinkerS", "rockchip,rk3288";      chosen {          stdout-path = "serial2:115200n8"; diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b5bd3de87c33..6f173506dbd8 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -864,6 +864,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \         rk3288-r89.dtb \         rk3288-rock2-square.dtb \         rk3288-tinker.dtb \ +       rk3288-tinkerS.dtb \         rk3288-veyron-brain.dtb \         rk3288-veyron-jaq.dtb \         rk3288-veyron-jerry.dtb \