From patchwork Sat Sep 9 12:31:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13378090 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BB33EEB58B for ; Sat, 9 Sep 2023 12:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=R7c9eZl4e0QBv3a1fSla87NArhQyTcxhAOPT+EvdvYI=; b=xtrSw8RzysoKGm dHBWkis5s++psLuglebBOFRE1EpdesK3iNsBxh39dfMoPKRvXrZJcCGfGMEz/JXTki3S7juDCr0ez Nz0i6zVVthSDLACBM8eQLbIm7yZUp4tJp1ZkHM8sGc1aXFN5z9E6tSGrztUiz/4wVgzcFfoBMrlMC T3W+96RCHHEJAIfSPGtkwmnwTFPIotbkz56XpKwydONMeRPwKUGqyJEIF3AUUk1rlP6Pcrv7I7C3g Z8/Y0CgAEUIX5oOo284+2s6MSol4HBlxDLMbOj9OP5uCLNwXFmmejheJpB3xDxWvv2BOv+alyW2A/ GsGxE8cDoH5ouOWTCKsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qex7Q-00FUAc-1K; Sat, 09 Sep 2023 12:31:20 +0000 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qex7N-00FUAH-0L for linux-arm-kernel@lists.infradead.org; Sat, 09 Sep 2023 12:31:18 +0000 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6b9cd6876bbso774155a34.1 for ; Sat, 09 Sep 2023 05:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694262675; x=1694867475; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JgY7HioxQJzvc3UWMLxwvEq1yQkuAsHwT0/8Xxg7rnM=; b=JrcqLjElJjkxbK07oC7p7wcSNb8BroDMYQDZCePsfjVfNx/EqatmtpEC5D2rOA+zGq NfxqUxldlr77j0dYdABItzVsR+TH4e9tNxcVuq+jDQK4fU+nT1vxd1iPa9uH2MLSuHKn rWd7z0fv/MNhipp5SqKUkD/KBzbsMulEWzg3ZbMiYP241YBynGDXE2w7j+gHMCq/Ozel +SxatGzi46UxFORLXc+QEIj0GjzYXMC9NyTvuu6NOUPvj2cVbSYL43TCof0S7BHamweA EV7W/VOJxA046NVwUgoJiZ0GVG0FM0HhkcD75tbcIwcaRr9OyVQ/No6SmCo0p295maN9 p1xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694262675; x=1694867475; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JgY7HioxQJzvc3UWMLxwvEq1yQkuAsHwT0/8Xxg7rnM=; b=iAzOZHe+WUafXpjNXxoQHUgYVLPCouAnADOaS/r356VTRUDUuY4+/N5qu0BWpdp0cv LD1JKnpEY6Y88UO8w/dfkwjBBolI6uRyHQwqcWIQ1x7KhctGtDeV7LN7QMfIizwuncXb rqE4UG2KdQWhyCJczBaRvmZiunDLeUzFjq5p1lo/5Q+jXy3a/FGvFpr5rIoaBVec0Olx FW3Er1CErPZVFx0ZFEotou/qDX/7u0/F+vvNMhnGRl2TMjA4dkO/g83cgFrwaTieUCc0 VPtKXQ2iqYSkjf1ZcuitOLc+w5czfLu/MOmyeTis9W/qUiTn1FxtzVvVJjaBxIYhmLuj odpw== X-Gm-Message-State: AOJu0Yy4kS93mDJH9wR0CEyWLjypFVNBJYmmJx3IASGBzjXgDGEI29LN UK+bHwz73FVtmVIMSQSrV60= X-Google-Smtp-Source: AGHT+IFGuprHEw5ms/f99s1uQi2ZQFoU2Kt0Dwwja5deMWOKTzHZnqBNFdEOfdU4YjkLNPQq/CV/XQ== X-Received: by 2002:a05:6820:a0e:b0:56e:94ed:c098 with SMTP id ch14-20020a0568200a0e00b0056e94edc098mr4681126oob.0.1694262675621; Sat, 09 Sep 2023 05:31:15 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:3785:ad26:cd88:709]) by smtp.gmail.com with ESMTPSA id f83-20020a4a5856000000b00573320e1241sm1688320oob.14.2023.09.09.05.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:31:15 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: wei.fang@nxp.com, shenwei.wang@nxp.com, xiaoning.wang@nxp.com, kuba@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/2] dt-bindings: net: fec: Add imx8dxl description Date: Sat, 9 Sep 2023 09:31:06 -0300 Message-Id: <20230909123107.1048998-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230909_053117_164745_A2A5522C X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam The imx8dl FEC has the same programming model as the one on the imx8qxp. Add the imx8dl compatible string. Signed-off-by: Fabio Estevam Acked-by: Conor Dooley --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index b494e009326e..8948a11c994e 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -59,6 +59,7 @@ properties: - const: fsl,imx6sx-fec - items: - enum: + - fsl,imx8dxl-fec - fsl,imx8qxp-fec - const: fsl,imx8qm-fec - const: fsl,imx6sx-fec From patchwork Sat Sep 9 12:31:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13378089 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F136EEB58B for ; Sat, 9 Sep 2023 12:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kKxM1e+NeQK9VcZjg1aSOEi9M+X82M6fib9p/UTpiks=; b=Xo+RG53CEyN1Bq XbwGO4nWI8xd/EZVNHI0zYx2OENTLxQQepn5Xb55/I7p8QG1tqd7RJgAOwzb4ReXUqrFo61I4mE/W AVmQRZ0jZqt83JSHIFl9qQtK2YKNIKEnM94V4AF2dKGJVJ6uFxsFX/eY8vGb1pTqOMUQ19LbbBOxA I+2cXUfribmAVa34EHS1vTPZYz8IfgNzVU5CoxYLqqA6w85AfVZ13vNhh8YuoBBfJPa79sca3+KrY Vw1fsTuBMIdmZsvWX6xzkXAQbma+RfYtohuxH6RiIgBOxXR70eKX1Jkj3h5TNgc1WZMauUn9iFkTv KY8+4+VjQlN1IewQ9m0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qex7T-00FUBF-1w; Sat, 09 Sep 2023 12:31:23 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qex7Q-00FUAb-1r for linux-arm-kernel@lists.infradead.org; Sat, 09 Sep 2023 12:31:22 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-1c134602a55so881188fac.1 for ; Sat, 09 Sep 2023 05:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694262679; x=1694867479; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cgMmkabWLP66Z1pj5QNqLjt25rskW5WM/Dly1iTxQPY=; b=jxbhQgFfP137cCoQ2jVJFtGNtVMz53egK/qNPn6JB4y2XV9MVKW3veOIkwVyQopFk2 HM3VEDYVey7fP0N7nIWUMkTBHk2/atYqoQvBEfc+qzlIELsMQu6eTH2R4glP/yXM+LMr PH0bg2acH0iV8iJ1QE2psi7bz0OiN4b+2qYoUzmtgv/dIPvALNbWtVSS/IGXfzjDdjd1 mz8NKd5JulEumHqvGV6WswZk9HmyT6a8Sw7PMWI1F/mAO5hWn0z6pA+iEuiM9SFTLIZI OUl4GY6jeS4JTPreB648wtOUykEXGdWdid30T+wdanmUHwSNLqO+6yVde1tIkPoj+2mf LOPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694262679; x=1694867479; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cgMmkabWLP66Z1pj5QNqLjt25rskW5WM/Dly1iTxQPY=; b=pE9K+buL5fogOvdG/T85qAC1UMgToi6wvp/Y9oyEL2bhr/ekKApNXgdCmQKrLDxCcN xjczdAUF1+9aJ1rFBRFV46041I1sc9P2Owuq/cYun7VBIk2A2pwuUjIq7INxZULbEfo9 Dd3lDJpf66sDqFcy/SX+4NSwvthxszxCjrdTtn0ZTYUdPura7pd/cmWK8NXtQ1IpjC3g gUBT31JytNuA6SKftGapTL5341fI4gflpHBZtQ8mYX0M8kbBXZMH+od/mZfQM6CxzBF/ A9L8TgmKi1/W2a9BybHZSeAzYadG4ZCLvs5Pi4DQKe+kCVNcW4q2Lg8KD3BFi8DJ96i3 5w+A== X-Gm-Message-State: AOJu0Ywo1k47g+hZ04IGGeTnutMNGMGgMM6jMqpb7zqY91SUCBHD6J0b PS7argHtvByJiUczCMsdxLk= X-Google-Smtp-Source: AGHT+IH+MVpZMgPdoJedG5n6hPfgW5SQIfrJ9UXerZuOi9nyCkvyqy7LBrTm/5k5GMX96n/86q7pFA== X-Received: by 2002:a4a:b382:0:b0:573:4a72:6ec with SMTP id p2-20020a4ab382000000b005734a7206ecmr4941817ooo.1.1694262679365; Sat, 09 Sep 2023 05:31:19 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:3785:ad26:cd88:709]) by smtp.gmail.com with ESMTPSA id f83-20020a4a5856000000b00573320e1241sm1688320oob.14.2023.09.09.05.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:31:18 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: wei.fang@nxp.com, shenwei.wang@nxp.com, xiaoning.wang@nxp.com, kuba@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 2/2] arm64: dts: imx8dxl-ss-conn: Complete the FEC compatibles Date: Sat, 9 Sep 2023 09:31:07 -0300 Message-Id: <20230909123107.1048998-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230909123107.1048998-1-festevam@gmail.com> References: <20230909123107.1048998-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230909_053120_617055_5101750E X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam Use the full compatible list for the imx8dl FEC as per fsl,fec.yaml. This fixes the following schema warning: imx8dxl-evk.dtb: ethernet@5b040000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx8qm-fec'] is too short 'fsl,imx8qm-fec' is not one of ['fsl,imx25-fec', 'fsl,imx27-fec', 'fsl,imx28-fec', 'fsl,imx6q-fec', 'fsl,mvf600-fec', 'fsl,s32v234-fec'] 'fsl,imx8qm-fec' is not one of ['fsl,imx53-fec', 'fsl,imx6sl-fec'] 'fsl,imx8qm-fec' is not one of ['fsl,imx35-fec', 'fsl,imx51-fec'] 'fsl,imx8qm-fec' is not one of ['fsl,imx6ul-fec', 'fsl,imx6sx-fec'] 'fsl,imx8qm-fec' is not one of ['fsl,imx7d-fec'] 'fsl,imx8mq-fec' was expected 'fsl,imx8qm-fec' is not one of ['fsl,imx8mm-fec', 'fsl,imx8mn-fec', 'fsl,imx8mp-fec', 'fsl,imx93-fec'] 'fsl,imx8qm-fec' is not one of ['fsl,imx8dxl-fec', 'fsl,imx8qxp-fec'] 'fsl,imx8qm-fec' is not one of ['fsl,imx8ulp-fec'] from schema $id: http://devicetree.org/schemas/net/fsl,fec.yaml# Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi index b47752a878c9..a414df645351 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi @@ -118,7 +118,7 @@ &enet0_lpcg { }; &fec1 { - compatible = "fsl,imx8qm-fec"; + compatible = "fsl,imx8dxl-fec", "fsl,imx8qm-fec", "fsl,imx6sx-fec"; interrupts = , , ,