From patchwork Tue Jun 18 15:11:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702486 Received: from wfout7-smtp.messagingengine.com (wfout7-smtp.messagingengine.com [64.147.123.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26EA31E532; Tue, 18 Jun 2024 15:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723475; cv=none; b=ZSq9lPLG5JonJel9hk8E+FgZNc67YkgV74MaJ5vWbodIByodlzEcRuc/HIwQ+3HGSNY+5B57j59bW4uXym69U0sjeq1ey7NJVNaBDwfv6njVP/4LqAkMXDhyQRv4Iuj7ttAy1VicsKb/Fa1z6Hqg/PRHOpNR0B6OdvRPlAkw0/E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723475; c=relaxed/simple; bh=YxzE21lNUaeTb0yp9pxht2aTui6m/EtqohrniRXP1J0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YYnK9nibFE45WeKDZFK3mHvM3/52p0bHtYLquFNXfogCu5aBvrKZSgmAQqnpr+jZG04nFadMc3HAGOqpV/5ls8kn4edkgjIfucZDzN62qkJ5e+UJfEnIOUw2koC9GJ1R1ODzw/ugs37N6GW+5Z9qGlnndN1RzFU35B/UH0Bj/Lo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=R8M1E4Q0; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=M513Q26F; arc=none smtp.client-ip=64.147.123.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="R8M1E4Q0"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="M513Q26F" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.west.internal (Postfix) with ESMTP id BFFEC1C000AF; Tue, 18 Jun 2024 11:11:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 18 Jun 2024 11:11:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723472; x=1718809872; bh=73GXPxWjGcGV4cl0m+OawWz9NO9L1RnHMbfSdPHUva0=; b= R8M1E4Q0lM3OFtjI4xr7tAo/WmuuARqbj5mI+CDm28QsDC1KGgWgUcqa7hqgKeyX yVXatEW3d9MdE/uiaN/LsMJAsUMujurPmNoWs/ZI41/QwgDVHzdIqP4ukxuU8Gy6 vs2l8kWNK2wvBaXLrpR1aChvuOe+7PSt6jzgAqmSdWYJXXHH7+isAkM9+yYHpIpq 0oZ4n7sM3zc8VP2OrBVQGbchgIOD0/ZNEZT+Uhu3w9Fla+hzRLVH+8l/YRA9DJ7G rSNp8MbHjSAaonueGniFjcyvaK9kJKBt6PyTnfi9OmlgGluEL85UOOlpc3bbQAHE iQQ6lDm/HnD5DOYu7+yt2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723472; x= 1718809872; bh=73GXPxWjGcGV4cl0m+OawWz9NO9L1RnHMbfSdPHUva0=; b=M 513Q26FaBLuq/QfSjQP370IezmzNiG4dsUMb5zHVssqnMgfHxJO8V/DU6fP0iTeC roYQMwpxHBadRp0x2Ed0xqRIR2n3agaNwWXzm+NMO11miKP3b0RGXJE2vrAXUtD4 iWUrdBzrMPbW6lmndb9iw7bFm7UBmMk8N49zmmK4xeI9MsBthJW7vmAjge4nS5/z KS320TXxkYjtqzug19U7Rid6RXVEJ8WH+Y+YKn+0+EfGjF/r3PW3cKcaEf/2oLUo vpr2H30h83nVmhbbISVxalZnM+4h40Zhw1TUZdu/jTeqkSQLPvMMjZ6sYSc6H1Ql YulxgzEwxmTODO8Th6JPg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:10 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:01 +0100 Subject: [PATCH v3 1/8] MIPS: dts: Boston: Add simple-mfd compatible for syscon Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-1-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=829; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=YxzE21lNUaeTb0yp9pxht2aTui6m/EtqohrniRXP1J0=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxT2btWf9Y6tkYWdtCVU49t2/TalA2vSn6+9/mzom7 AhRKVrSUcrCIMbFICumyBIioNS3ofHigusPsv7AzGFlAhnCwMUpABNZyMHwT9HRaiXDby7RR8tf CU6aKjvBVJA9W7d84brJZu2zrvIGWTH8j9zbslvzT+dRSYtO+f6k1fdnyvxY0RQS4PkjmvP+naY /DAA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 We certainly want subnodes of system-controller node to be populated, add simple-mfd compatible to make that happen. This is required by U-Boot. Signed-off-by: Jiaxun Yang --- v3: Update commit message. --- arch/mips/boot/dts/img/boston.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index 72f7605d2e31..f7a2c46f1eb8 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -203,7 +203,7 @@ cpc@16200000 { }; plat_regs: system-controller@17ffd000 { - compatible = "img,boston-platform-regs", "syscon"; + compatible = "img,boston-platform-regs", "syscon", "simple-mfd"; reg = <0x17ffd000 0x1000>; clk_boston: clock { From patchwork Tue Jun 18 15:11:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702487 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16A983D579; Tue, 18 Jun 2024 15:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723478; cv=none; b=DKPZuFeZvjO1/if/TZWlvrS0Tf5YXpCMqBHYiSK2y6Fe41WXFd7DeGFfENFGvCUgaUDConhPMePVhTaoPtSOkLl2EDU0OMikwAbCydKHDSlAJ4hMWtqHomdDAjzp1i4aiqFliXj0xveGtdJ9B6xgp7vXh4vo2dkathgETSMmyCk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723478; c=relaxed/simple; bh=d0ExPZqcfwVr8N7ohOVjrEi6ygZ7pTpHkwXRWnWH1Gs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I+b4g+vY2GDtCraG2AbmgajKqxL8/tNmXIntU+fG1SP5zgHwVqIE9n44dxTFKNGUrc3kziorSRb9KoI5MhXJP2K58lYL3xFzqVPVZZGyvghk13Gi6ms62UkAEG2Fjckq6wef7JLt0rSslYmc1ojiFwGcuYKakSDs30A+hXYspcc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=SsdONBW2; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=nGP8jPkD; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="SsdONBW2"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="nGP8jPkD" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id BA8FA18000EA; Tue, 18 Jun 2024 11:11:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 18 Jun 2024 11:11:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723475; x=1718809875; bh=BgpLjwJpdOMdWq7wp4KtiMEySdHq+1Z9/3xL4EU0/zs=; b= SsdONBW2/qB6fezi2zcbzGWqhYNY7iM5mYBI6XUeKaBJuYfUwrC3pDnlcDXX+Vdz RfSAoxIuEEMOw+sSCH4wXdBhgHySgzn5RM3UUL3hVpsIr5e0GlBy9PesZ5aV0xBh N6G3iBNV9pj900F7enJzwTuzMqAm5bHeTH7754UUFi67V2HtqZSRPjQm4x5ogS/4 h3wiz4wK2HTf/uAk7RzmIOp9IentSTYX0BENZaKNnPYb0P7dA4cG6vRXCCvAjkTB 0uve5bjBVQsbbY7axg0G/rQY3LO5FN2/YZnEGG7/gHJx0zzIrGc6fal8KyiFre4n Yx7rPK/iPGjg0QhoU6CJMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723475; x= 1718809875; bh=BgpLjwJpdOMdWq7wp4KtiMEySdHq+1Z9/3xL4EU0/zs=; b=n GP8jPkDOXwR5xBU8j90QEh/65IShq87Hyk5VsTgMmF4Fvx12CNYgwFC1Q0RyH8Bv 3h2PinW7YmyxirU2c4CxSjwJQptu9i8JhuGGEXtNOSQTwC+IhU0In44m1kNJ8gbt 60UOi7DZQzfD9y1VXoG2vOsYPbwI5/X6ZWhzE2JI6US/ycZvPt7UEYCN6YTqYrCb zHgFECrfm+pKW9IwjtiEDgcEpFMTRJo/jyFVL4K73ThhWKZu5wgPRZWdqtgq9g8G yZowTHAN9ZCcyh6Uj7qJYw5ZIGIpM48WoJsuUDIOItzptKrckMfg9VgKhK9ywJaQ ifnJi7mA2DiMBh/5bs0Qg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:13 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:02 +0100 Subject: [PATCH v3 2/8] MIPS: dts: Boston: Move syscon-reboot node under syscon Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-2-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=876; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=d0ExPZqcfwVr8N7ohOVjrEi6ygZ7pTpHkwXRWnWH1Gs=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb37baYlbJI195ec8a7FyynObbPvN7H94g4ZvrX3+ +31pR07SlkYxLgYZMUUWUIElPo2NF5ccP1B1h+YOaxMIEMYuDgFYCKpbxj+J+6wWXST6/LPGdNW 7AkWDr7jvdj1lcOkwMi3BRoXNn5zqGX4Z6LzeJqt//HDidGRx888Nm61clx4XelIS7z5x89z5qp 85gEA X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 To match actual hardware topology. Also rename node to "reboot". Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/img/boston.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index f7a2c46f1eb8..f465079d3085 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -210,13 +210,13 @@ clk_boston: clock { compatible = "img,boston-clock"; #clock-cells = <1>; }; - }; - reboot: syscon-reboot { - compatible = "syscon-reboot"; - regmap = <&plat_regs>; - offset = <0x10>; - mask = <0x10>; + reboot: reboot { + compatible = "syscon-reboot"; + regmap = <&plat_regs>; + offset = <0x10>; + mask = <0x10>; + }; }; uart0: uart@17ffe000 { From patchwork Tue Jun 18 15:11:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702488 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEC371E532; Tue, 18 Jun 2024 15:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723481; cv=none; b=AdkhrlIddmzHvyaWJ7aag/Zt/C/3wPNQx+0w/74QFVbRluM3Ka1oAP8SCo/3gBcowUSj4FDhGoDQUSK3dvFzpB7KWw8rsfQUdaEApXqp6KovaNBS4gHj8IsynijoLk6ppr86NihTpe09kcYmSYl75pbaq6yCgDDIYkqUt42fR+w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723481; c=relaxed/simple; bh=A58P6H0qREKq5zcCS0xUsYUJNRA1T01IHdet0BHbjK8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=f8ZeMcpXF2DEtRLzugM4BIVFoJJ7WDbq++6/H31bKcIy6y9SChvARrQTUGRnMYytOckbpwScjkzUUNNRKD8TH0kw4lMe+Qt21+9o5LOcBDX9AXz0xXtoofa+ryjSSzeJrd99+0OWq9GQUE0JFOiRhabuHshqSl5ns6Cmc3PAr1c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=WqXT5MRH; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=mU/W5p+y; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="WqXT5MRH"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="mU/W5p+y" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 86726180009E; Tue, 18 Jun 2024 11:11:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 18 Jun 2024 11:11:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723478; x=1718809878; bh=1RYETSf9eBGKcCbqH7yWpQ8PaQTaBYeOW6ONqLIQheE=; b= WqXT5MRHTF1QHlQuz2hk6QSxar2utASXSjEw5hf6C0x//yK+Wc8RJPHzUFHCZPpk VTQlZmLsUKMUN9r9zOOSGaAlHumiqrVo2hvJf9nkqKrX19JIWPKRiCo7Vy0EYR1C +E4pfXVQltLJKaeaTuJKj757lQu3wnHwtsjIN84iKRr2smwjvCYCwg46BTncCHjc a27YCvEoKhbH8BvcWqtJHOITcm5oGhK0klILmbC5TFap39hY0yRCwhZ1e8QsS7VK /TLiqQZfKsnhJQo0nUFObtdsVloXoP9yOS1HyWDamSZD9E/tG24JP7q5+EZnJYul tsDLhrCR0ZiX5o7xBYd49A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723478; x= 1718809878; bh=1RYETSf9eBGKcCbqH7yWpQ8PaQTaBYeOW6ONqLIQheE=; b=m U/W5p+yW5EFRepGJNjXj3+hhOSKDGKAxTHKH5GrIY4hRRmjout7Q/PHDrS3sEtne kJwFpC8lOl6oEbwVQVu8V7GCUYDITVDLsIkWMYtiQK+bRla7QgFSR0VKzgxjmgKP +bhkRIqUy2zuhAXKHSHfYfZCCgSfNUniMrwmL1/6TPXrIxvIGh7gT0Ye3X3ZI7tP sefQoBh4MqIq5S0+OMvceYoh8P1pLlAblwC6liSV53hxQcFyr0qh2DRqe0z6LV4R LbGFujSrSlkBW603Jui32Z5UoLOAFlVpmqkrrvVjVwVDhZ8AAWs2c97iZpGzdAc/ 6Lz7/3QVdaYyzU+TuV1ww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:16 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:03 +0100 Subject: [PATCH v3 3/8] MIPS: dts: Boston: Rename clock node as clock-controller Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-3-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=711; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=A58P6H0qREKq5zcCS0xUsYUJNRA1T01IHdet0BHbjK8=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb2CX36vv2aaHc/vu1frx4ZLxm83HNN+Gf3fvWMnf 5i61QvnjlIWBjEuBlkxRZYQAaW+DY0XF1x/kPUHZg4rE8gQBi5OAZjIpQyGP/z/CqzClx092jXh 7WrXPTu8P2vnF7FE8aRseyk3tUK+Zz4jw87is2c9Mu/eKtIVenauMurjt4sGK75l1QS/ZZyRZj5 Njw8A X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Better naming. Signed-off-by: Jiaxun Yang --- v3: New patch (Rob) --- arch/mips/boot/dts/img/boston.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index f465079d3085..337dac462e6a 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -206,7 +206,7 @@ plat_regs: system-controller@17ffd000 { compatible = "img,boston-platform-regs", "syscon", "simple-mfd"; reg = <0x17ffd000 0x1000>; - clk_boston: clock { + clk_boston: clock-controller { compatible = "img,boston-clock"; #clock-cells = <1>; }; From patchwork Tue Jun 18 15:11:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702502 Received: from wfout7-smtp.messagingengine.com (wfout7-smtp.messagingengine.com [64.147.123.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 860C34D8A4; Tue, 18 Jun 2024 15:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723483; cv=none; b=Vm7eeYAXVgCJ7Ett1C4eqeygTdTSRlNyhqMpnZDDRiUXUQ+UNV90YPOL0Qx6t9Z3BFaREhBvaLRKYaxiopZVjXopknUBLehWKzeVSnLnn4XdQomVugSFa2qYJRQ7o7ypALLmSrVpVB7uB8LpOrMiij2OMw3MOZNHgORVg+CRXuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723483; c=relaxed/simple; bh=F2TD4mszBgigQRbhyzvnjzH2xkRPNWFTZ9s+AQRQnTU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XgFvSwHYHUO1eKT7vbNTzW8FvFaWbGQ67sw1+5SA2136u8bQigPPeN61kI22qQF45yib0zzMc9X6U537WLw/mWT4XldK5dlOV1Dx27DQrzd00o+JFp5Wzgp8m6xk7XaEWDh4jETu50CwhMdVs8i7zNLcaF5fl2XApMJr57TcQv4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=L12e9d9v; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=OweWD5gq; arc=none smtp.client-ip=64.147.123.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="L12e9d9v"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OweWD5gq" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.west.internal (Postfix) with ESMTP id 6121F1C000EF; Tue, 18 Jun 2024 11:11:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 18 Jun 2024 11:11:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723481; x=1718809881; bh=OCcIhFVMFP430Vp41BSqtkburDXhlBI4JVgZaybbPUY=; b= L12e9d9vgvgaJHWUCOIxd2keArfSVhbGbMhRb3VIljUV8csicYs9yw2aj+Rsp3fI dphC8fMhXWVbLItrHgNCbKyX9Zk+P17NFr3hg8L7vcoiPY650kAUQvV3ZpzcZ+yB op2wlSF9adZaoZpIHQQUI5o+uMny+UKCdL+L4LEUeuT7T3yHBmDIzTorLMEskV4/ fOPVXw+BLh55FG6YXwTAAqwZIE7TXJL5ArwsYq+5TcW44SJnxyfi8iN1w9pH0yMs 05VBE80MZ2zOJgS7tv/kEQwG8kUxBt4niaBGx3EjbWD3vLaMIr10vPwKZ76s5Qen nm2CGb9l1T99mdg2RJE1iw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723481; x= 1718809881; bh=OCcIhFVMFP430Vp41BSqtkburDXhlBI4JVgZaybbPUY=; b=O weWD5gqQPf2B6jlgje+WKDk1bKQio6Y7mRN/Lz8WmbWT+nQ19b2k8+HnaBJ0zOPp CwYXDH7NOjKWVRUHsWzutnUrPnzxYTihNH/2/z0ZW8sYk6lHCyohr+P3LRnkECxF 0ITVPdv6QfJ0XXcV7fpy2mO8CW+zdoFKyeM5e/fh3m4eKKCUjbHn5ooHkwTqbV1T 6feV7it7y3dLxgQqROg1kgLvL2Y/05DCNkU5C6w6jWIqJXMG5du8UajkoTHaPJfZ T8x2Kx9OcQ9tzZOV2Dg9k+BEXHV22GSJvdi/zs4sgGSn1AJ/OKZ6qy20p7xqFFJP HNfV1UV7gRUtukdqYkPYw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:19 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:04 +0100 Subject: [PATCH v3 4/8] MIPS: dts: Boston: Remove unused #interrupt-cells Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-4-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=806; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=F2TD4mszBgigQRbhyzvnjzH2xkRPNWFTZ9s+AQRQnTU=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb3pQttjG6/YJB9XOPVs7VlJB3keZcN94ZKXuoPSm D7Fnj/eUcrCIMbFICumyBIioNS3ofHigusPsv7AzGFlAhnCwMUpABN5+IuR4WJPbaLne+2EJW/i nn3hYKp4aidrHfl1quenOoncUgl7V0aG6dfTCj/G2/Qd3VOv2fvOt+BgvPC1aX80lbbON8t8X3+ YBwA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 There is no reason to have #interrupt-cells node for a pci device. Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/img/boston.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index 337dac462e6a..3863a7bab03b 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -131,7 +131,6 @@ pci2_root@0,0 { #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <1>; eg20t_bridge@1,0,0 { compatible = "pci8086,8800"; @@ -139,7 +138,6 @@ eg20t_bridge@1,0,0 { #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <1>; eg20t_phub@2,0,0 { compatible = "pci8086,8801"; From patchwork Tue Jun 18 15:11:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702503 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66BC150A6C; Tue, 18 Jun 2024 15:11:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723486; cv=none; b=jMsLFZ9PzLJF+MZ0ycx1eyO1pDU8G3zvVJrkJms5fFbjnR3OpHHw6PioTeGr34nwWgGUgmDQ+8knlypfnC3a94QbbuKWXdKMmO3Tq7uaF1vVtjyHQEvVIlzD/ErKo2enPDzSX8GW45d74WQiNFQH0OlneK89uc4uev4/mCFb8cs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723486; c=relaxed/simple; bh=ORTLv+565yoYWYi6d128Rk7j6n1W+glX47lvS/ZArGo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CyPuVXTzbI+RYF4j4y/aMW3W844n4+imWI6qIvRoGOZsdLgm1rdUt+rztrqJ+UEjjfm9B24F+ObubUBInZtYxrBW02+5xsuGuRX5AZ+P7SDUbbZIZ2uHlI1Z7K/L98VkRFtcu3DMlMh73QY3WWDpZ1VOniqnqmIRXwhMHZ5fzIM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=S7oJKGre; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=We1Wa/yZ; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="S7oJKGre"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="We1Wa/yZ" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 19B44180009E; Tue, 18 Jun 2024 11:11:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 18 Jun 2024 11:11:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723483; x=1718809883; bh=GAhNrru2spEuKKE9kAgQbjxJpyW+H6svL1FVXG1BfmI=; b= S7oJKGre031PfJWw2HsMoHFD2I1FfDXlmxmHiQI/VJlI1h4HvJN9tLksQ1vD/nth MF9Ioh5/sfql0FH2mqc0fELSqrcrr+At/BUHfVXahYNA2+HXBh7zx6WghgD/iYAQ 1Tv3Cpy9Vt5MUaqxqeKQtdWdi+mJ9/jPKvNgcxBX28J1asMCk8LdEaT6T6rTi3t9 EmAX/QCHUY9wPASL31GOIt0Qv2RzeZW9ihsLxBcfLrcZPV3KkXYhnxj1onUUuRkK oeRPV7wnANmKCKpwrlzYjloHg6DwjVH/bq8Q25d0sm/UyLrO1sHP5rvU5jpl4/JW mhT9ePnZMcleMU3MtfUqgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723483; x= 1718809883; bh=GAhNrru2spEuKKE9kAgQbjxJpyW+H6svL1FVXG1BfmI=; b=W e1Wa/yZUQM3q2RTCxO86SY7aUk67J5rCUhkJihqV++a1bJx66YExES2PqHuC/ktP MtOrzEVgKVo5xQniPVii2vDLvbS3ttVLqlm+aKOp+BQkSt0b21lBwDMTjyX4IvJi s2ownZ+JjtrB9cToogN27+oJgO94RQUgjEwosT4nOo1mQaaUH6YzElr6jEYGIQ+t ItyE95+P4EwS+5MZmG0WfZQ2Tqv9SXkU9JQJM6ZbSr6o/0Af79XK/y46uL/HyYiS xkTa309JxVoQAry6qJ8Mg9BfN3W38vnTSsX9MyDiNnZiIZqfHreg8fvFPh52j1qq YuoiCw3GSKn7HCSoAmEPw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:22 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:05 +0100 Subject: [PATCH v3 5/8] MIPS: dts: Boston: Add model property Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-5-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=575; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=ORTLv+565yoYWYi6d128Rk7j6n1W+glX47lvS/ZArGo=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb1bPwXPsv4V5DeR6cftuR/e3Jj76dJBuSsRW1rl2 dJ8X0Zt6ShlYRDjYpAVU2QJEVDq29B4ccH1B1l/YOawMoEMYeDiFICJmDMxMrxWSftt/DY+f8Im PaFrmfbPXZ9um3XkreA1jomiakbpcecZGbquvZmjKTrz6S6viVVvCpwkzW9PO8a4SqDJSPr78ui /bPwA X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Using string "IMG Boston" from bootrom. Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/img/boston.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index 3863a7bab03b..5e825f34fcfa 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -10,6 +10,7 @@ / { #address-cells = <1>; #size-cells = <1>; compatible = "img,boston"; + model = "IMG Boston"; chosen { stdout-path = "uart0:115200"; From patchwork Tue Jun 18 15:11:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702504 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 027DD71B52; Tue, 18 Jun 2024 15:11:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723489; cv=none; b=i7AY7t4LcnPddis3+f2KknxLYJI2SLMgF1r89DeLU6aV2OJ1mmsUieug9+4OiSbT6c8ERML6qRpmGeJCtXVAaeZKxlpYe0g0MSiCBfUCyX8dkl+fQqUQs+5wQKShc77cKW7y4Hw7tP23Fd/4F0uXoNwd8wLbSTvcpOIP/Yh6LvM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723489; c=relaxed/simple; bh=GTs3xUvMVWMQcggQZdK/s+o1gK7ylJ7eAFnNQ8w1A14=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IpoAfSUgmDtZLsNBZ7VVohBkqjjFimHVQS56o8rB0YArh99omJ7YjpKmL1t7EZbgcYwDJGAx4aLp3eIPjhjgTNVFUjD4IG4/eznV+rQpw0e8czexfnC16oBTVzU3tn8cncF1RdNsHEkIwZ9ZCNioFfxWyODAW9K/ybIAdnhYbME= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=XFQnrVk4; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=nY/UHzJS; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="XFQnrVk4"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="nY/UHzJS" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id E7256180009E; Tue, 18 Jun 2024 11:11:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 18 Jun 2024 11:11:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723486; x=1718809886; bh=6LDEwodi0lPCVIfEXLWQtTsjj0zwgTlEnrcMF5kAbgM=; b= XFQnrVk4yVCsTY/OaODDpo1/yqibrH8HJrXURZcV+rgbKBjcoyg/w4Ox3Y6Nh466 Dh1Cy4NswSMByWC0J3zO6YzSUvYWX4wNXOZDiAYZlemysBK3mWil5khBcgmSH6Sr ddP/OoZ4ZEZL9tvZPJFLe7GuGybwnfvl3DmDX3jXlNfJ2DBy5nllWQT11UUoxKR0 4PoWZD/7GpMgBObUAwlA24niE/ghwp39pv/YD9FuRVkfENiq9pE65hGUQyJrg6rr 9SzhuHPHKZ6u9X5cDpdzgNMUiGCRqmDevERKtiuW3YE2nJf1yg3wDMbIJWApjM/O MAMr8kb/0i2H96eI9pnYyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723486; x= 1718809886; bh=6LDEwodi0lPCVIfEXLWQtTsjj0zwgTlEnrcMF5kAbgM=; b=n Y/UHzJSG4RaWSBS7+bD0bk12TejPr+2oXL06YpMc/RgkzeUGhekBRdUbYAM6aESP By2dfml6+jF8KXEa4AlmmdRfVzaU+VE3KW/lVQkRybEJq1u+JHb8F6wyeJes7hMC 9a+ZzWxvEFH+MQZMXCl7OIDp7atynFWTYtkHh532C7X278ywjb79mAk2QftOmtGL kPPdQJyKEDoVGVol9tgIqiS17zjqvF53Afe2DDts0bJDhspkT22cpaADNOVoVQ4W 0UfxktJ7JpIB1uDtx0yvWUWRJwSp/APuDpVbfn/wYAdTVO9EvChSqo5BsjOOUaWx 2eLs+PmT6s/pfqnQd9AAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:25 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:06 +0100 Subject: [PATCH v3 6/8] MIPS: dts: Boston: Rename uart node Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-6-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=816; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=GTs3xUvMVWMQcggQZdK/s+o1gK7ylJ7eAFnNQ8w1A14=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb2b6rmm6LNOnBezVtJ6Bg//9qQslVs7y15vXZ2pf THwduHyjlIWBjEuBlkxRZYQAaW+DY0XF1x/kPUHZg4rE8gQBi5OAZjIv0WMDDuK1+288K6l0tjW IKDu9pyfT+IFFyis7quXZ2fY9Y5Tq5zhn3l2x9fPDiZqqZ8NMu0UZ2d6zPvq3Bzspii5ajfzxAk cLAA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Remove it as serial node. Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/img/boston.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index 5e825f34fcfa..7d1870aae47f 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -13,11 +13,11 @@ / { model = "IMG Boston"; chosen { - stdout-path = "uart0:115200"; + stdout-path = "serial0:115200"; }; aliases { - uart0 = &uart0; + serial0 = &uart0; }; cpus { @@ -218,7 +218,7 @@ reboot: reboot { }; }; - uart0: uart@17ffe000 { + uart0: serial@17ffe000 { compatible = "ns16550a"; reg = <0x17ffe000 0x1000>; reg-shift = <2>; From patchwork Tue Jun 18 15:11:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702505 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F1D08120A; Tue, 18 Jun 2024 15:11:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723492; cv=none; b=VgdC0J+e3jRzJ5Byza7eLPhSNO+YP0PAMQzrz47P1njd+AI5rmi6n1Vebs1usa4XdcSRLYzwn74Q3shplXWpTWOX3pD7ONcLB6kVo+tHtwVlmqEYY+rePpzxnKq8tiCLd+ESA/jfxUSGV9lMvxppOyOiZ2GgHKZn0EwF1Nfv7B8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723492; c=relaxed/simple; bh=EGs/L0ersYDi7FFZb1HRGrUxBi/oc2LRg13X2yBKvAE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aED9p0GOH7tJYcTXsJRHe0CoUCwhr5EayDMlzNcT9TLCTqjekzCb02T18aip/iBEdbfggzrJJuEJBDkrYrbQJuYQen8seonSH977CFKzDZ27Wl7mZQj9uKVdX1fcUWN1B2piqCN1kRO7uRoFRVwxrhfEmpmK50j/xbvOiJ3ckNQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=ipYjZ3gf; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=TxgO+B4b; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="ipYjZ3gf"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="TxgO+B4b" Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.west.internal (Postfix) with ESMTP id 4447018000A2; Tue, 18 Jun 2024 11:11:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 18 Jun 2024 11:11:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723489; x=1718809889; bh=6JCCT9vFQjkyT9Y0QaS6AanK/xt+H5liO9Oo/z9aq+Y=; b= ipYjZ3gfroSmfr1uWG5fGE5UWl5BIoi+qLNgzto4fI2PUP9OrOrR8i9JcYcGskkS nd410fWhXh2BMpmtbaZ1TfOLI7x3WlTGcXNKUOb0VjHN4m62ZauEoidDrYDH57u/ CVq0ry7Xf4SLfHEOqVmI0P5Cw/Jc6b7JjO2ILzPUhmjLc1eg7htW1yxd9aFECxp0 0HcZKOlQx12FERW/mSL3nedZjD4dsaEBnZMu4zwGNWkqmZFQ2f0HO933CgTjePc/ alulh/wo4XiVx4WpOSveKakFUT6Imbfs84veqqVg85Dc2xx8FMstCk1Hra1qur4n 88UAY84R96jaN75MUjS2PQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723489; x= 1718809889; bh=6JCCT9vFQjkyT9Y0QaS6AanK/xt+H5liO9Oo/z9aq+Y=; b=T xgO+B4bJzS+Ig53VI2nZVLfpYBwkETaxxVZW4NHuajpqA4d7dCC4KgBvUikO1gp3 Ccl03DSxliaL6GkekaQ4IBpHwVZePP/yQk2YIoZAXgGCUkYvNeIZyhxfeoFyAJqN 7j5pPPFYDKa3VavsOol2sn8gZvLgq4TIaJN6i6SexuswWE3Ghw7zQpNXK20I3+v9 v3+ZI93tWzfj8aRwsMkH2X8H0Va2UZ1xsi1QLIMmfdIBRzM5uwPprVOVzRU4dgvX lkDT2+sC8Hg0liLa13xRODDcByb1BJxTdFselTXvfy4057l4pw6N3Hor4hKKzw/M lke6A6lAu9iSUsJOhNTVw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnheptdffudefteeijeeljedtvdekteduvedtkeetheefkeetkedu tdetkefhfeeuffdvnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdr higrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:27 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:07 +0100 Subject: [PATCH v3 7/8] dt-bindings: mfd: Add img,boston-platform-regs Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-7-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3776; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=EGs/L0ersYDi7FFZb1HRGrUxBi/oc2LRg13X2yBKvAE=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb2J96ZYuYhxiB+aYt64znyplliYfnPI1ziFQwfEb y3eZ7+ro5SFQYyLQVZMkSVEQKlvQ+PFBdcfZP2BmcPKBDKEgYtTACbSdJnhf6F5ryWrnujfLsYp P6bKiZaGH3il+i30/gSHFw+aj2uVLGX4X5kjny45I/bB1rfWuQ80DR5sSrpTo3PnMH+2UpNFluc rXgA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 This compatible has been used in arch/mips/boot/dts/img/boston.dts for a while but never documented properly. Write a new binding for this device. This also covers old img,boston-clock binding so remove that binding. Signed-off-by: Jiaxun Yang --- v3: Rename clock and reboot node --- .../devicetree/bindings/clock/img,boston-clock.txt | 31 --------- .../bindings/mfd/img,boston-platform-regs.yaml | 74 ++++++++++++++++++++++ 2 files changed, 74 insertions(+), 31 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/img,boston-clock.txt b/Documentation/devicetree/bindings/clock/img,boston-clock.txt deleted file mode 100644 index 7bc5e9ffb624..000000000000 --- a/Documentation/devicetree/bindings/clock/img,boston-clock.txt +++ /dev/null @@ -1,31 +0,0 @@ -Binding for Imagination Technologies MIPS Boston clock sources. - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -The device node must be a child node of the syscon node corresponding to the -Boston system's platform registers. - -Required properties: -- compatible : Should be "img,boston-clock". -- #clock-cells : Should be set to 1. - Values available for clock consumers can be found in the header file: - - -Example: - - system-controller@17ffd000 { - compatible = "img,boston-platform-regs", "syscon"; - reg = <0x17ffd000 0x1000>; - - clk_boston: clock { - compatible = "img,boston-clock"; - #clock-cells = <1>; - }; - }; - - uart0: uart@17ffe000 { - /* ... */ - clocks = <&clk_boston BOSTON_CLK_SYS>; - }; diff --git a/Documentation/devicetree/bindings/mfd/img,boston-platform-regs.yaml b/Documentation/devicetree/bindings/mfd/img,boston-platform-regs.yaml new file mode 100644 index 000000000000..79cae87c6758 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/img,boston-platform-regs.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/img,boston-platform-regs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Imagination Technologies Boston Platform Registers + +maintainers: + - Jiaxun Yang + +properties: + compatible: + items: + - const: img,boston-platform-regs + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + clock-controller: + type: object + + description: Boston Clock Controller Device Node + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. + See include/dt-bindings/clock/boston-clock.h for the full list of boston + clock IDs. + + properties: + "#clock-cells": + const: 1 + + compatible: + const: img,boston-clock + + required: + - "#clock-cells" + - compatible + + additionalProperties: false + + reboot: + $ref: /schemas/power/reset/syscon-reboot.yaml# + +required: + - compatible + - reg + - clock-controller + - reboot + +additionalProperties: false + +examples: + - | + #include + + plat_regs: system-controller@17ffd000 { + compatible = "img,boston-platform-regs", "syscon", "simple-mfd"; + reg = <0x17ffd000 0x1000>; + + clk_boston: clock-controller { + compatible = "img,boston-clock"; + #clock-cells = <1>; + }; + + reboot: reboot { + compatible = "syscon-reboot"; + regmap = <&plat_regs>; + offset = <0x10>; + mask = <0x10>; + }; + }; From patchwork Tue Jun 18 15:11:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13702506 Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83802137757; Tue, 18 Jun 2024 15:11:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723496; cv=none; b=lXz36h5kG7hbn+GmkOBG40WBS24XE+9eHkKh0B2XEciA+9esv1XtkFZq4wnJB1KChONRaCbNAXFHyxbgI6s3KY2YRayWtArZs4yZutJzyXHTWy624BOrwsXI7Ro2qJt3q0erh5JwrLqirkb/xklWYkiwYwkGkvHx7gT1VpD6PW0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718723496; c=relaxed/simple; bh=HbywrLNjiENzD/e6xffmJVBjKdIskJSRjWMdv+Fu+oY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a1jVM3KutzDEIkbYjRAgkGd6QndaKfNoH8Il7QwWvFRbadXydkuexJ/hFxyg+ll4mFE2BELziWUFShvmsHWouILadfVwIVW1hHI/wWFJhcmO7JjtvQ0bywnLGpQIyhCWB2N27S2F5QE2KZoAVsiDAh31RxL2UzAmPBlOk8pT3tg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=s+cMBBVN; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=PEOVA0l6; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="s+cMBBVN"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="PEOVA0l6" Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 3939D18000A2; Tue, 18 Jun 2024 11:11:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 18 Jun 2024 11:11:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718723492; x=1718809892; bh=XU+S+B83Z/eXy8X+kkx10rXFqy+1VjvkkGoZYG1E8vY=; b= s+cMBBVNQblKBx7ubPA5osIQYblEm3ySGgTqCwhiIAVPteswzLfs+jU0wr1t59L4 24xT5Gp6AzxNEgXMb6xH8QdS6Wf/2EPIG6j9IP4Y/m+YRDMI7F4SJhjV0l6rlcSV ACgiLYujT2drp5IFti4A8PVufSPgmNfnigLjY6BwgqTCh7oaiNlRfc/BjehtFsJ4 eH78ED/nnOrAtulYIh785V1WhqSJI1a1rzuLpDtPh4Dai5sEDf7zAU59scklvuuU RHyZDTvSQCXWYzMf191BtGsaWo5pKGdtXi1FsNq5W6PAQHow4sJuT8yTemCx/VGG 3jy62vY5AE5o3eUgjp5Agw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718723492; x= 1718809892; bh=XU+S+B83Z/eXy8X+kkx10rXFqy+1VjvkkGoZYG1E8vY=; b=P EOVA0l6pHxEFKP7ddV02Af75DIrzhMjD8hMOXJu/POJLCCz6VnjOKh7+WHVQ+YlT DwSG10IRnkqU5rGaz2ouyMwCfii6BL/le91M4Cl9b/Rr7Jq41nquHGsjIH5ib7v+ 6stYfC/UxjjBbTe2B1czz4vIRu/UeNXYhU3+rhq8Pt/jsQS5eMoDK6z1aWz1Fkku qemSXQSXRdRtWrFtbQBZoycUfbcfGiifFvJk3sAxf99IKJD5ZTk73NH0rGfMUFDv lqrC+XfDZS4X/nCHwHPDiFdEvO0cmu5qj6si4lcXpzmX1J2a8yg9a4fvLSwvDNt3 C6nKVIn3QmhFpLF95+l2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepkeevkeefjeekudejvdeuffeufeeigfegfeekleevffekgeef geegtedtjeefffdunecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghdptghrvg grthhorhguvghvrdhiohdpphhrphhlfhhouhhnuggrthhiohhnrdhorhhgnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrg hnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 11:11:31 -0400 (EDT) From: Jiaxun Yang Date: Tue, 18 Jun 2024 16:11:08 +0100 Subject: [PATCH v3 8/8] dt-bindings: mips: img: Add devices binding Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240618-boston-syscon-v3-8-c47c06647a26@flygoat.com> References: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> In-Reply-To: <20240618-boston-syscon-v3-0-c47c06647a26@flygoat.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Burton , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=6540; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=HbywrLNjiENzD/e6xffmJVBjKdIskJSRjWMdv+Fu+oY=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTCxb0iWgWrvsRcL3Zyqtg4b+O32BWyfGV/91bprgxrv LlL89y2jlIWBjEuBlkxRZYQAaW+DY0XF1x/kPUHZg4rE8gQBi5OAZjIyduMDI8dGpx1M4MjnS7W Gu+WbnZ7dm2vRDZLQOCUeccb9pa2tzH8z2L+Znbr/v1NlRwHn17yXBplwPJhsvcP9wvHGIsPzdF YxwMA X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Add devices binding for various Imagination Technologies MIPS based Platforms. Remove old documents. Signed-off-by: Jiaxun Yang Reviewed-by: Krzysztof Kozlowski --- v3: Remove old bindings, they are not relavant any more. Booting protocol stuff is covered by spec. --- .../devicetree/bindings/mips/img/devices.yaml | 33 +++++++++ .../bindings/mips/img/pistachio-marduk.txt | 10 --- .../devicetree/bindings/mips/img/pistachio.txt | 42 ----------- .../devicetree/bindings/mips/img/xilfpga.txt | 83 ---------------------- 4 files changed, 33 insertions(+), 135 deletions(-) diff --git a/Documentation/devicetree/bindings/mips/img/devices.yaml b/Documentation/devicetree/bindings/mips/img/devices.yaml new file mode 100644 index 000000000000..460ca96577ad --- /dev/null +++ b/Documentation/devicetree/bindings/mips/img/devices.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/img/devices.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Imagination Technologies MIPS based Platforms + +maintainers: + - Jiaxun Yang + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: IMG Boston + const: img,boston + + - description: IMG Marduk (Creator Ci40) + items: + - const: img,pistachio-marduk + - const: img,pistachio + + - description: Imagination University Program MIPSfpga + items: + - const: img,xilfpga + - const: digilent,nexys4ddr + +additionalProperties: true + +... diff --git a/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt b/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt deleted file mode 100644 index 2d5126d529a2..000000000000 --- a/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt +++ /dev/null @@ -1,10 +0,0 @@ -Imagination Technologies' Pistachio SoC based Marduk Board -========================================================== - -Compatible string must be "img,pistachio-marduk", "img,pistachio" - -Hardware and other related documentation is available at -https://docs.creatordev.io/ci40/ - -It is also known as Creator Ci40. Marduk is legacy name and will -be there for decades. diff --git a/Documentation/devicetree/bindings/mips/img/pistachio.txt b/Documentation/devicetree/bindings/mips/img/pistachio.txt deleted file mode 100644 index a736d889c2b8..000000000000 --- a/Documentation/devicetree/bindings/mips/img/pistachio.txt +++ /dev/null @@ -1,42 +0,0 @@ -Imagination Pistachio SoC -========================= - -Required properties: --------------------- - - compatible: Must include "img,pistachio". - -CPU nodes: ----------- -A "cpus" node is required. Required properties: - - #address-cells: Must be 1. - - #size-cells: Must be 0. -A CPU sub-node is also required for at least CPU 0. Since the topology may -be probed via CPS, it is not necessary to specify secondary CPUs. Required -propertis: - - device_type: Must be "cpu". - - compatible: Must be "mti,interaptiv". - - reg: CPU number. - - clocks: Must include the CPU clock. See ../../clock/clock-bindings.txt for - details on clock bindings. -Example: - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "mti,interaptiv"; - reg = <0>; - clocks = <&clk_core CLK_MIPS>; - }; - }; - - -Boot protocol: --------------- -In accordance with the MIPS UHI specification[1], the bootloader must pass the -following arguments to the kernel: - - $a0: -2. - - $a1: KSEG0 address of the flattened device-tree blob. - -[1] http://prplfoundation.org/wiki/MIPS_documentation diff --git a/Documentation/devicetree/bindings/mips/img/xilfpga.txt b/Documentation/devicetree/bindings/mips/img/xilfpga.txt deleted file mode 100644 index 57e7ee942166..000000000000 --- a/Documentation/devicetree/bindings/mips/img/xilfpga.txt +++ /dev/null @@ -1,83 +0,0 @@ -Imagination University Program MIPSfpga -======================================= - -Under the Imagination University Program, a microAptiv UP core has been -released for academic usage. - -As we are dealing with a MIPS core instantiated on an FPGA, specifications -are fluid and can be varied in RTL. - -This binding document is provided as baseline guidance for the example -project provided by IMG. - -The example project runs on the Nexys4DDR board by Digilent powered by -the ARTIX-7 FPGA by Xilinx. - -Relevant details about the example project and the Nexys4DDR board: - -- microAptiv UP core m14Kc -- 50MHz clock speed -- 128Mbyte DDR RAM at 0x0000_0000 -- 8Kbyte RAM at 0x1000_0000 -- axi_intc at 0x1020_0000 -- axi_uart16550 at 0x1040_0000 -- axi_gpio at 0x1060_0000 -- axi_i2c at 0x10A0_0000 -- custom_gpio at 0x10C0_0000 -- axi_ethernetlite at 0x10E0_0000 -- 8Kbyte BootRAM at 0x1FC0_0000 - -Required properties: --------------------- - - compatible: Must include "digilent,nexys4ddr","img,xilfpga". - -CPU nodes: ----------- -A "cpus" node is required. Required properties: - - #address-cells: Must be 1. - - #size-cells: Must be 0. -A CPU sub-node is also required for at least CPU 0. Required properties: - - device_type: Must be "cpu". - - compatible: Must be "mips,m14Kc". - - reg: Must be <0>. - - clocks: phandle to ext clock for fixed-clock received by MIPS core. - -Example: - - compatible = "img,xilfpga","digilent,nexys4ddr"; - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "mips,m14Kc"; - reg = <0>; - clocks = <&ext>; - }; - }; - - ext: ext { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <50000000>; - }; - -Boot protocol: --------------- - -The BootRAM is a writeable "RAM" in FPGA at 0x1FC0_0000. -This is for easy reprogrammibility via JTAG. - -The BootRAM initializes the cache and the axi_uart peripheral. - -DDR initialization is already handled by a HW IP block. - -When the example project bitstream is loaded, the cpu_reset button -needs to be pressed. - -The bootram initializes the cache and axi_uart. -Then outputs MIPSFPGA\n\r on the serial port on the Nexys4DDR board. - -At this point, the board is ready to load the Linux kernel -vmlinux file via JTAG.