Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5185668pxv; Tue, 6 Jul 2021 20:17:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQdWkT1yglnT6EJ4fWqDQRYNo7gTxHUYBkEYqPpSIieUpi7o7HQzpOduDkuB9G0OfzOXGE X-Received: by 2002:a05:6638:35a8:: with SMTP id v40mr20297505jal.108.1625627834529; Tue, 06 Jul 2021 20:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625627834; cv=none; d=google.com; s=arc-20160816; b=KD4vL44MUFTF6D0+7AnemGbdyFm3qwVCmo7Rdpdxxi2KzDWaJbl/1lDKT2QgSubcOv o5LSSbeuuf77Y8vs4NAlXDISsFJZChLNjVHMfQyZGlHWxyfaqCNs55zQruJmQjsdQS3J ttXWh9l9P5hJKTKbPGqs1zq1yxNb7B1nsID5xDJyX9GRVnoTf38Ni3mZ4iDoXLJn1ty5 XG+Tcc3/elovVehQ7Hi9tB+WJRgNy7JhS1lKJtdjZ+OxdOPVcCrBzzUb7gyw5cxB1kGm CRC0AUCjCrWzvL2G30PpuqIyrOreVovtkzScKkaZ/Ekhetl+eWsTCcR6IOwneSTmy3xR pWFg== 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=HD7fvV++lnXN3rWSs6B1vaR05hKL8vwruZu2/KPFdDg=; b=o25pw4IsDy59wISZdFYyIwtxK6ahd0jKH8l+sxk724YKApxG20ls/VPZJZuzxX3lrm P0pNc/Oq0nV2VCy8yrT2m8n2RTuBlTWj6fARA2Dluw8YNOiHQf3kb1CYDSAQWVsUYY7y IE2y7eDLo0eQLVBhM4kxTWqzDeqhA5vfeA1ScrHiJMA3KKd0aXl3x44aIz3VPBhr4Lna dFv26EmEtn8elKIU1W36SfM76loQYoCi9N/SrHyZlHXpM838w4sjSrknl2tACsfdPszF 8QTAmw5x+famjPqr/OjG2wg/X8Kqf+ea3pTw4dlppcZs3t/i/RQYbQmpKzIObVEzY0pA e7KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=dj8L10lj; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ozmbQtH4; 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 q20si18755747ilt.27.2021.07.06.20.17.01; Tue, 06 Jul 2021 20:17:14 -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=dj8L10lj; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ozmbQtH4; 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 S230037AbhGGDS6 (ORCPT + 99 others); Tue, 6 Jul 2021 23:18:58 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:60127 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbhGGDS5 (ORCPT ); Tue, 6 Jul 2021 23:18:57 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 4E0FC580452; Tue, 6 Jul 2021 23:16:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 06 Jul 2021 23:16:17 -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=HD7fvV++lnXN3rWSs6B1vaR05h KL8vwruZu2/KPFdDg=; b=dj8L10ljRLCEcw+rfR2ejvc6zdTYI+p+Xn2SwyyWuw ntiKEItS8aL254dXSMWkpKa2A347Zwz7c7zJsCsa5FYKa3+U6aMta7j7e+GEELoJ 5ZPAGDpeAStzV8mfAjvKHNBy8rp/yIFA14v8NabkU48y42lDklecfN3mRQ1CEny8 vD9uQl2v/th+mAJ86fFU0i3B/SLiIqyZOyp6wbE3V3JbXBbJYB6tbA86kApzXVsL F+fl0SRoZ4UNEAvQ32yDpG2f9kMLJTtrQrDm2pCRRAXlyNbR5YzpImNVyM3fugb7 7mzMEFt9m39Ja4K27SfGxdzQFpJzyuq7+AmnMFInYjjw== 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=HD7fvV++lnXN3rWSs 6B1vaR05hKL8vwruZu2/KPFdDg=; b=ozmbQtH4h2Sj+pL/aMBdxZF/d5DtSU4Z6 yNy7stbILDPp69jViWm5njGhRww/vDYERVhHSyxX6TI2cZjqsng6EeDQx9wGZoNo hMuOq7SeVAJIacoaBgdqQ5nCpY0E2eU2exdPbQ6YQtq7YTqjVMjwyF1nRrLGfGZ+ jpGA7vHgQ3YABvyUQclqdvabSmTR3DG/wcY2oNh4WGhHsZsHWHvqody+txoBFJj7 K7BsMeX0CZPo/j1J8QBrO+3+nM4mJRkCS+GRkwy1fqYOGmSTp+sH2FolPo0AVjuN pkp9D0F9symNSSVhhKJPDAzqtfUfhyb56hzYUgHUcjgAzHeP2DDdQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtddugdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhl hihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhephfejtdektdeuhedtieefteekve ffteejteefgeekveegffetvddugfeliefhtddunecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrth drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Jul 2021 23:16:12 -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 v2 0/9] MIPS: Migrate pistachio to generic kernel Date: Wed, 7 Jul 2021 11:15:43 +0800 Message-Id: <20210707031552.20166-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. -- v2: Minor fixes 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