Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2449567pxv; Sat, 26 Jun 2021 21:58:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6CVHfJSd1HCkic2Q8KW87PcpuyCbj/9H4TzqpuRcX4sTSonyfebOk7IoCg3s6Z2YKxKfx X-Received: by 2002:a17:906:25db:: with SMTP id n27mr18199752ejb.170.1624769904563; Sat, 26 Jun 2021 21:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624769904; cv=none; d=google.com; s=arc-20160816; b=Y+XAV/MIMW74aqEDmankP4JBWEEaXrXEsNHrJjJ5pPJC1dm7Zm3GK/fzOly4oPO0DG sEXduQEHS8N4LIaiLHAujOxzO6P/Kp/AgCjeFO8upnj9KnADqWIVKlNpag0/MwlO1Srn uugIBs9LaKyKQBZ1MpXm+RX9sWLHDQP4pm6fNrkV76+2u9JEmKgFH+K/nC4Gpm2124D5 jnzUz2pgY0NB8hFLtu2agBEhapua+ubaRKW2PvkS14XF5ppGjvaXVjvQmfKvm5e3IKz/ lVYmNOmbATE+yeGf8TGW703lunqASugPDJ2W4TLNRCO3z7kfTGzUbNS8Ex1Glv42OMvJ Mb8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=OEzigg4+BoMPxsyoPsKvBQuXaunF/DeXQiUJoqVNnGg=; b=h1zZBLeN/83IJ7MprHEOmTb0OsTt4a2eSeR3/tSVC9FpzygN1oBPnlmCzJ+xFV7PFR 4PKB9HnsZVb42QuG4LwTKYYDy+dKgm6vW91ZRlOeTFdqmvM1mE98ujzrZ6mgoLiEmTid oFnwFZZVLLVQ8Ji83DkvSBWF6KvHeba1greN5ObvMy5dNLKHn3zpsUK/8DCcX5yL2J8W XgLW22SZ3Aj12w8sR2l3GQlhNVhYkuzQCHa9s+x4UC4wd0bJg1qER9+ZDh+t8BHoQ4hW 2sQVhS33S0UXEp61gwssxgX+dHtcfxjaqqMmlGXH4yqVVboZkOxFG9kc0lyUCRgFmTnI 1bRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=ZzhTi7PW; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aiI2vGZl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c16si11144163edw.152.2021.06.26.21.58.01; Sat, 26 Jun 2021 21:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=ZzhTi7PW; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aiI2vGZl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbhF0E7O (ORCPT + 99 others); Sun, 27 Jun 2021 00:59:14 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:40977 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbhF0E7N (ORCPT ); Sun, 27 Jun 2021 00:59:13 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 633CB5807B0; Sun, 27 Jun 2021 00:56:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 27 Jun 2021 00:56:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=OEzigg4+BoMPxsyoPsKvBQuXau nF/DeXQiUJoqVNnGg=; b=ZzhTi7PWoalGaRkNmj4TNmwp+GyvJC1wVlMyZvGZbS 3FQHepYOSaREV6SWKRbqJjb+du7LOnvtCQ8NbRH3AvbnJ9XE+V40fPoj29f/F1xU u3F/CRdCDLqhxBecGgZadXMk2AnZE979jOkOWXyPS4UasCYYBwVqPuRcE1WCLXi/ GIf67jWx8iyURz3NNX4i5AJ0Ugw5iuk1pYZneR+po9NRtM2n/jOifDba6+hn3N5R I7yHz3YS37l3AbH4IBBUj/kp0e667QHHPTppVyyPnChSE5UZnoUZh2HZ7xTPolyK t2gKaf4DVmELtBonu3NFhPzzloh4IA2sA0kxECsMS54w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=OEzigg4+BoMPxsyoP sKvBQuXaunF/DeXQiUJoqVNnGg=; b=aiI2vGZl0DEOtYORnQ7gnZwWOIXdbacN0 MvjTFf2MYWr2SQ5iPtRUeGyjvGugvb7X5KPumHgT2GVcQMr4ev8wr3gX0umD15uh bU2JP0ErmQua1dx/0fIUAPwWaiMLfOfwBDz+YSQhGiTXGBjs2BJyyCwZKNZUnsf+ u3qfEWdC5TuoFm3KQcfZHrOSGXVLpiPWvXyO/YvUSrEgtcmessV/unESf0pZkscx Wx/TfNBmhhwb4gcHvyQfbub6fL+j/4qXmtsRfcXVcXQIDgUcews+GV08ajhdznih GiHzrOEmS+3cRWBgRw/r0da68e9fM/fh4Z9XawGLVVnqCCuiSAAgQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehuddgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehf lhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpefhjedtkedtueehtdeifeetke evffetjeetfeegkeevgefftedvudfgleeihfdtudenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorg htrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Jun 2021 00:56:41 -0400 (EDT) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, mturquette@baylibre.com, daniel.lezcano@linaro.org, linus.walleij@linaro.org, vkoul@kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Jiaxun Yang Subject: [PATCH 0/9] MIPS: Migrate pistachio to generic kernel Date: Sun, 27 Jun 2021 12:56:22 +0800 Message-Id: <20210627045631.2882-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm lucky enough to get a Creator CI40 board from dusts. This patchset move it to gerneic kernel to reduce maintenance burden. It have been tested with SD Card boot. Jiaxun Yang (9): MIPS: generic: Allow generating FIT image for Marduk board MIPS: DTS: Pistachio add missing cpc and cdmm clk: pistachio: Make it selectable for generic MIPS kernel clocksource/drivers/pistachio: Make it seletable for MIPS phy: pistachio-usb: Depend on MIPS || COMPILE_TEST pinctrl: pistachio: Make it as a option MIPS: config: generic: Add config for Marduk board MIPS: Retire MACH_PISTACHIO MIPS: Make a alias for pistachio_defconfig arch/mips/Kbuild.platforms | 1 - arch/mips/Kconfig | 29 -- arch/mips/Makefile | 3 + arch/mips/boot/dts/Makefile | 2 +- arch/mips/boot/dts/img/Makefile | 3 +- arch/mips/boot/dts/img/pistachio.dtsi | 10 + arch/mips/configs/generic/board-marduk.config | 53 +++ arch/mips/configs/pistachio_defconfig | 316 ------------------ arch/mips/generic/Kconfig | 6 + arch/mips/generic/Platform | 1 + arch/mips/generic/board-marduk.its.S | 22 ++ arch/mips/pistachio/Kconfig | 14 - arch/mips/pistachio/Makefile | 2 - arch/mips/pistachio/Platform | 6 - arch/mips/pistachio/init.c | 125 ------- arch/mips/pistachio/irq.c | 24 -- arch/mips/pistachio/time.c | 55 --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 2 +- drivers/clk/pistachio/Kconfig | 8 + drivers/clocksource/Kconfig | 3 +- drivers/phy/Kconfig | 2 +- drivers/pinctrl/Kconfig | 5 +- 23 files changed, 114 insertions(+), 579 deletions(-) create mode 100644 arch/mips/configs/generic/board-marduk.config delete mode 100644 arch/mips/configs/pistachio_defconfig create mode 100644 arch/mips/generic/board-marduk.its.S delete mode 100644 arch/mips/pistachio/Kconfig delete mode 100644 arch/mips/pistachio/Makefile delete mode 100644 arch/mips/pistachio/Platform delete mode 100644 arch/mips/pistachio/init.c delete mode 100644 arch/mips/pistachio/irq.c delete mode 100644 arch/mips/pistachio/time.c create mode 100644 drivers/clk/pistachio/Kconfig -- 2.32.0