Received: by 10.213.65.68 with SMTP id h4csp541849imn; Fri, 16 Mar 2018 10:56:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELsVBgmPv08Q1wEMU3KL2905JZs8tfpHY9sQNH1Odv9skJMjkeoqIBr58lFATDktdiVeURPv X-Received: by 2002:a17:902:7604:: with SMTP id k4-v6mr3018870pll.292.1521222985307; Fri, 16 Mar 2018 10:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521222985; cv=none; d=google.com; s=arc-20160816; b=Yl62YGm9R7YQxI98GUib4dOIsQi5ORDlbaOpfAZPcAsx1g4hHjEWCsGTQ6aRxC2EYt DCxH4rR1mSWhdUN8odDNOl464cSYGr6oeOBx9ShTCeeiN2suWH3elDsE93nLHfDfmYxb QPaGkGs78+T8SxOPw2ZiberC7txEP5+oTHS0WOXPDdRICPqnHXU33LZ3EJuk7YSzf1L1 KcL9E2SymTpqNRqdwKQUdTM6x4ABRABMsV15XHMM51iqoQXgFWuRhfRqO9ifY1XG1372 d6AQC7AtH5JGR5lW1OO0P0CnlmxPEzGAJ4NSnseIoP5DGa3eXCKxf4a5qlEzhJzbVzT1 7qww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=XciK52h29t937/D5D9i7aL5HfpulX2wQpErSCPYxMaM=; b=ScwjpI/FKAhsLigxQjHoWc1Rb+ry7qtu6KZeds9Furdv3eAemd6CRn9qPcEePwmhOX rVMZ+Lc56MCAlvvaoLTl00q2pqFBK9K78+SgIlSIwmw0nKO1t/zAHJLxIACMU05+NUSt BcQkZBNxjqydyw4pvLvedlIRJ73Q6z+7aIK8IJnpFeLubpKZN9X8wwnOfvZ8ZgcOdSkc PrxhZw6dHt3Ecy0kmg9x0iDq87eh2k3FaLlu69bn4SytEAh0+55NujK4i30nhD2PlQX1 fpC1uOZTJUq+pDrZGGwjSFrwqoMSAf7/2QDsDksHhIIJMvJwIJYdcC2qx3EACho03fDK 4S/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9-v6si6558273plk.644.2018.03.16.10.56.10; Fri, 16 Mar 2018 10:56:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752683AbeCPRzJ (ORCPT + 99 others); Fri, 16 Mar 2018 13:55:09 -0400 Received: from hermes.aosc.io ([199.195.250.187]:52708 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752410AbeCPRzH (ORCPT ); Fri, 16 Mar 2018 13:55:07 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id EB912598A2; Fri, 16 Mar 2018 17:55:02 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Date: Sat, 17 Mar 2018 01:53:47 +0800 Message-Id: <20180316175354.21437-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset tries to implement the Allwinner A64 DE2 as a bus driver, in order to model the fact that the SRAM claim controls the access to the whole DE2 memory space. PATCH 1 and PATCH 4 are for the CCU part. PATCH 2 is the device tree binding for the A64 DE2 bus, and PATCH 3 implements the bus driver. PATCH 5 is a modified version of A64 DE2 CCU patch, which uses the A64 DE2 bus. PATCH 6 and 7 are just the simplefb patches for A64. Icenowy Zheng (7): dt-bindings: add compatible string for the A64 DE2 CCU dt-bindings: add binding for the Allwinner A64 DE2 bus bus: add bus driver for accessing Allwinner A64 DE2 clk: sunxi-ng: add A64 compatible string arm64: allwinner: a64: add DE2 CCU related device tree nodes arm64: allwinner: a64: add simplefb for A64 SoC arm64: allwinner: a64: add HDMI regulator to all DTs' simplefb_hdmi .../devicetree/bindings/bus/sun50i-de2-bus.txt | 37 ++++++++++++ .../devicetree/bindings/clock/sun8i-de2.txt | 1 + .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 4 ++ .../boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 4 ++ .../boot/dts/allwinner/sun50i-a64-olinuxino.dts | 4 ++ .../boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 4 ++ .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 4 ++ .../dts/allwinner/sun50i-a64-sopine-baseboard.dts | 4 ++ arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 68 ++++++++++++++++++++++ drivers/bus/Kconfig | 10 ++++ drivers/bus/Makefile | 1 + drivers/bus/sun50i-de2.c | 49 ++++++++++++++++ drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++-- 13 files changed, 194 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt create mode 100644 drivers/bus/sun50i-de2.c -- 2.15.1