From nobody Mon Feb 9 14:15:14 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A14A7C77B73 for ; Sun, 4 Jun 2023 14:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232414AbjFDO6F (ORCPT ); Sun, 4 Jun 2023 10:58:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232390AbjFDO6D (ORCPT ); Sun, 4 Jun 2023 10:58:03 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE49D19A; Sun, 4 Jun 2023 07:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1685890615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5dcl1shcrAojKzd131V73MzqhBaxqhbqibIw8HMNAPE=; b=UltWcevn+WWtJ/4rTe2B+ZKReRzfBIZgSQL7eJyrzY3zMQReebbCKDsByDC2BaUfLmhLZQ op2iyF6BUPJHrU/AF+2pq/K13SX2LAGFfexmkONEpsDEkBLIfg6VIhNZhoP1uN1+rdVg6j OpOEhGGgVHCfmNqnaq2NHDrUaTJtK98= From: Paul Cercueil To: Thomas Bogendoerfer , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: "H . Nikolaus Schaller" , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, list@opendingux.net, Paul Cercueil Subject: [PATCH 5/9] MIPS: DTS: CI20: Misc. cleanups Date: Sun, 4 Jun 2023 16:56:38 +0200 Message-Id: <20230604145642.200577-6-paul@crapouillou.net> In-Reply-To: <20230604145642.200577-1-paul@crapouillou.net> References: <20230604145642.200577-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" - Use the standard "ecc-engine" property instead of the custom "ingenic,bch-controller" to get a handle to the BCH controller. - Respect cell sizes in the Ethernet controller node. - Use proper macro for interrupt type instead of hardcoding magic values. Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/ci20.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingen= ic/ci20.dts index 7f6e7a4e3915..b7dbafa1f85d 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -356,7 +356,7 @@ nandc: nand-controller@1 { #address-cells =3D <1>; #size-cells =3D <0>; =20 - ingenic,bch-controller =3D <&bch>; + ecc-engine =3D <&bch>; =20 ingenic,nemc-tAS =3D <10>; ingenic,nemc-tAH =3D <5>; @@ -422,8 +422,8 @@ dm9000@6 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pins_nemc_cs6>; =20 - reg =3D <6 0 1 /* addr */ - 6 2 1>; /* data */ + reg =3D <6 0 1>, /* addr */ + <6 2 1>; /* data */ =20 ingenic,nemc-tAS =3D <15>; ingenic,nemc-tAH =3D <10>; @@ -435,7 +435,7 @@ dm9000@6 { vcc-supply =3D <ð0_power>; =20 interrupt-parent =3D <&gpe>; - interrupts =3D <19 4>; + interrupts =3D <19 IRQ_TYPE_EDGE_RISING>; =20 nvmem-cells =3D <ð0_addr>; nvmem-cell-names =3D "mac-address"; --=20 2.39.2