Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753495AbdI0PRZ (ORCPT ); Wed, 27 Sep 2017 11:17:25 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34132 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753510AbdI0PPs (ORCPT ); Wed, 27 Sep 2017 11:15:48 -0400 X-Google-Smtp-Source: AOwi7QDId8sFfivBK3bgCNKzWBmbvbOJk19nTwTZZnL3OSZ/XQdduc4Xq25nDNy5nzHTKyYtZpxuLA== From: PrasannaKumar Muralidharan To: robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org, mturquette@baylibre.com, sboyd@codeaurora.org, devicetree@vger.kernel.org, linux-mips@linux-mips.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, paul@crapouillou.net, malat@debian.org, dom.peklo@gmail.com Cc: PrasannaKumar Muralidharan Subject: [RFC 0/4] Add Ingenic X1000 SoC Support Date: Wed, 27 Sep 2017 20:45:23 +0530 Message-Id: <20170927151527.25570-1-prasannatsmkumar@gmail.com> X-Mailer: git-send-email 2.10.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1648 Lines: 38 Add support for Ingenic X1000 SoC. This patch set provides enough bits to boot a kernel to an initramfs user space. I implemented this code during 2016. Boot stuck at "calibrating delay loop ...". Now I have fixed the issue by setting the correct irq. I do not have access to this device anymore so could not test the fix. Marking this patch series as RFC as this needs to be tested. Test and feedback appreciated. This series enables uart, timer and interrupt controller. As this is very minimal a static elf binary should be used as init and should be available in initramfs. PrasannaKumar Muralidharan (4): dt-bindings: Add Ingenic X1000 SoC clock define clk: Add Ingenic X1000 CGU driver MIPS: Ingenic: Initial X1000 SoC support MIPS: Ingenic: Add Halley2 development board support arch/mips/boot/dts/ingenic/Makefile | 1 + arch/mips/boot/dts/ingenic/halley2.dts | 46 ++++++++ arch/mips/boot/dts/ingenic/x1000.dtsi | 93 +++++++++++++++ arch/mips/configs/halley2_defconfig | 61 ++++++++++ arch/mips/jz4740/Kconfig | 10 ++ arch/mips/jz4740/time.c | 2 +- drivers/clk/ingenic/Makefile | 1 + drivers/clk/ingenic/x1000-cgu.c | 203 +++++++++++++++++++++++++++++++++ include/dt-bindings/clock/x1000-cgu.h | 46 ++++++++ 9 files changed, 462 insertions(+), 1 deletion(-) create mode 100644 arch/mips/boot/dts/ingenic/halley2.dts create mode 100644 arch/mips/boot/dts/ingenic/x1000.dtsi create mode 100644 arch/mips/configs/halley2_defconfig create mode 100644 drivers/clk/ingenic/x1000-cgu.c create mode 100644 include/dt-bindings/clock/x1000-cgu.h -- 2.10.0