Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp792106imm; Fri, 22 Jun 2018 05:28:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKM/FP7LF/sm69339dfdEnIvTPLUS28sMGw4J5zi1vcktY8dAr2CYElSbSQsQbnS15P2wlZ X-Received: by 2002:a65:62ce:: with SMTP id m14-v6mr1230765pgv.407.1529670502958; Fri, 22 Jun 2018 05:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529670502; cv=none; d=google.com; s=arc-20160816; b=nYbabEIYdBc7IT0EfGFUKa9GhQBjLM4SoluVSG3Mnv7692Fi7wqUO1zYvUW8USIqJh EDEzcbL4nX0ZCILeLSvcQVN1Kbcz54WKuy92YPUHNlaEuKYicQGxJqC99TXkMyCZFpzf m0FgGdUJISyE3gnXUEbRFLzULgN0uRQsUKJ5ZVqhFj9Y7wfMcbiEAEXvLXe6Yc60NIRh dp93mRmmS9mFJUTIpS/Mh7uzmwX1XnkoneLY7+eNYeXEjH3M2ezrCUpnFwz4hcozhiSx ask3FfTdzj6FUOkgzLYzwIfGEaZS2npucRFA07vw6s+vMLK7PrqI/l/snBw5WSrnEar5 ijog== 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=LR4IUm1z1uPsME7DWDUeMPKMzo1x14NTNQFeefZFROs=; b=b/Alr8CJvDeLKt2gvHkwF4Qpz4ZQD/zCz10fK4BNy9aQwFjfs4eABenRJcrfkUWcd7 on+Y4cFI16NPNyV6Gz3HNAk/mxnGAf9ECjgAqebwA/4/hyPygGXsGcgOmRiLWzgolRR0 SU698jFXXx8VmZm+brYDFVzGSs+DlT1MZXEbq2yrPTRmUYzet+cEEktI9M4HXxtfzhq4 tuSY27dJmqXFCF45Lsx9V12TTpz5BLZyT4MMm2s5lbLomWt3X9LMhHqczi1wkzWewMyd iNVawsnUWwA5uVPjoF3acyMgAu25BrSNC3tkEwUIWLznBA7icMuCUmhbVQr26tjW44Iv RpDA== 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 w16-v6si6085762pgc.232.2018.06.22.05.28.08; Fri, 22 Jun 2018 05:28:22 -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 S1754157AbeFVM1E (ORCPT + 99 others); Fri, 22 Jun 2018 08:27:04 -0400 Received: from hermes.aosc.io ([199.195.250.187]:56618 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbeFVM1C (ORCPT ); Fri, 22 Jun 2018 08:27:02 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 6D6B862B6A; Fri, 22 Jun 2018 12:26:49 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jagan Teki , Jernej Skrabec 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 v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Date: Fri, 22 Jun 2018 20:26:08 +0800 Message-Id: <20180622122615.55836-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 adds the DE2 CCU device tree node, with the DE2 bus node. PATCH 6 and 7 are HDMI simplefb patches for A64. They're present as a test to this patchset. 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 necessary device tree nodes for DE2 CCU arm64: allwinner: a64: add device tree node for HDMI simplefb arm64: allwinner: a64: add HDMI regulator to all DTs' simplefb_hdmi .../bindings/bus/sun50i-de2-bus.txt | 37 ++++++++++++++ .../devicetree/bindings/clock/sun8i-de2.txt | 1 + .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 4 ++ .../dts/allwinner/sun50i-a64-nanopi-a64.dts | 4 ++ .../dts/allwinner/sun50i-a64-olinuxino.dts | 4 ++ .../dts/allwinner/sun50i-a64-orangepi-win.dts | 4 ++ .../boot/dts/allwinner/sun50i-a64-pine64.dts | 4 ++ .../dts/allwinner/sun50i-a64-pinebook.dts | 4 ++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 4 ++ .../boot/dts/allwinner/sun50i-a64-teres-i.dts | 4 ++ arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 39 ++++++++++++--- drivers/bus/Kconfig | 10 ++++ drivers/bus/Makefile | 1 + drivers/bus/sun50i-de2.c | 49 +++++++++++++++++++ drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++--- 15 files changed, 167 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt create mode 100644 drivers/bus/sun50i-de2.c -- 2.17.1