Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9770347rwl; Wed, 11 Jan 2023 09:42:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXuhYd3W/Fqw8BJH1IrMkEa1eLsZI2yLHnJw87aqkf7cog6jrp7G6yO4gAyC4z8Js8kX3483 X-Received: by 2002:a17:902:ed84:b0:189:6bda:e98f with SMTP id e4-20020a170902ed8400b001896bdae98fmr67470132plj.58.1673458920706; Wed, 11 Jan 2023 09:42:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673458920; cv=none; d=google.com; s=arc-20160816; b=zIOA01pW2OyBnlltcnbDMVy5edacgDnNfWz9dxcEPiiGL9G5wBXajCFGrkllhBSVp8 ol9H9vxQfOC+UlSvoPPO0JCFX3ING5pK7fCR573bn91LQr4/z7+QPFn4iEFIoSARWE3/ S/tHD8cknChN/AgUjlVm5C5yb0vfbq05GUPGe8b7YhM0ZOn1pSiZwfmphGGRFO/ZTthM 5AMWjpwg9D2or/EsYgYgpjjgcS9kqagv9zjgqCMhfZWGvpPQabe+2K309kCiehltAz7M gKLUsfzHwBlQff5/2hwzgskaePOARNPrO9hsOMBcAfanwWknEcz6HdUtr5QxvS/R5zme WDHQ== 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; bh=Jbu/rVr6n2Zk27DTmTR5ScWWLUloBxQI7RkPhtXRlII=; b=IeCFu29TtTT/754ecngVD3V6FIaQnhMU5i9nZ9hSTUMGtygOETi+rX8AWJDmj3eRuT vL5R+uldQgA3MMrusxD5DaZT3upl/XY1pexqsED+JVSs5JYvLeHX9rTEtVxH3vhUSdM6 E5B8OXeR4S2Ymvl2XqM0XQj1gwMo6MM3KdJdKzHGwzaYc9y8kXjEyUEPCQL6k+7f/syd CyY0u7KKKKcP6O5+XxbL3yvD1dHKS1mB4M3ozjYXARxhJm41mXCgF3Ff/onfnPUbUnUA 37E7arLNlZIRMQ+yo7F1Pudck5nHDq+TaqC6TpjlyjGlz8tWJt3uYo8dvWZBUOxDEvzS Ok9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@edgeble-ai.20210112.gappssmtp.com header.s=20210112 header.b=yrD8dxGN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020a170903241000b001892c399f03si14135802plo.365.2023.01.11.09.41.54; Wed, 11 Jan 2023 09:42:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@edgeble-ai.20210112.gappssmtp.com header.s=20210112 header.b=yrD8dxGN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235754AbjAKRap (ORCPT + 51 others); Wed, 11 Jan 2023 12:30:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239628AbjAKR2m (ORCPT ); Wed, 11 Jan 2023 12:28:42 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AA6F395E2 for ; Wed, 11 Jan 2023 09:24:48 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id s8so9171409plk.5 for ; Wed, 11 Jan 2023 09:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Jbu/rVr6n2Zk27DTmTR5ScWWLUloBxQI7RkPhtXRlII=; b=yrD8dxGNg5ZO4IXiMKYPbv93TaG4TWX2OugwLUbr+siHQBJeBxpqrrOM4wt32jCbsb NFLH7HvE3rPdiTGDeXEpEu4jprmbdiLqGtoLnGjNz1loktheApWuVEtB4HvLjjlOGW/k 3i0M1KzDEyv7koyZWtwlkUFl63j8c4Mc8xD83j86VGbXoKfMl9/P/2XGSPpiYZSPN7/f Rq7WfexbuEbvPze6dLTZBZ04ACNMMWB59my82UbzsBPUqiRLaEZDzlO0sgy1G5BMnXeY pDmZ4K2dJbPdITGUh8rnYBTBwc2AkWTrlMwUAQDt8CwaqQhBmGmDi+hE+qvoPYXWtgJc Fz1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Jbu/rVr6n2Zk27DTmTR5ScWWLUloBxQI7RkPhtXRlII=; b=L0yWU8rqzXpTIM4ofNRQ5qo0OPqHilxAfPlAoEmnS7uQ4oDhjRClb/e4dVqjha/B2f IMxc6ytU9VfQCZNCtVRoBfHHqrU+pAB4g/iNH+fIfQ4mCTCvta3KX0dYfnNIQR/nK1ar OdiPpzf08I7FL/yTe58SqScNVtlSMKWpJhD7tmP4/umvVxCAu6ZED98ZaqODz2rr28Ci tmXGBn8IhZ6bxvgfiySeNa4lORzXVe2RSguraru4p+TtE4+ihq8U/0uksavf279bgxyw RKxu5mSbES90IJAMammMvd/I22VYZzLuVKOgOy90sh1ZTYK4CVdhvFAkJRnQMW9zhA+N MzUg== X-Gm-Message-State: AFqh2kp8jt+SZ9myQIjo9AMED8TdLidFx0lZAcJgVIEGWNSebCSyrkNl VqZNj9xiS8iqaqDp6QSGuCaJBA== X-Received: by 2002:a05:6a21:e307:b0:af:7a88:f752 with SMTP id cb7-20020a056a21e30700b000af7a88f752mr90849296pzc.48.1673457887706; Wed, 11 Jan 2023 09:24:47 -0800 (PST) Received: from archl-hc1b.. ([45.112.3.15]) by smtp.gmail.com with ESMTPSA id rm14-20020a17090b3ece00b00218fa115f83sm11110722pjb.57.2023.01.11.09.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 09:24:46 -0800 (PST) From: Anand Moon To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , David Wu , Anand Moon , Jagan Teki Cc: Johan Jonker , Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 linux-next 1/4] dt-bindings: net: rockchip-dwmac: fix rv1126 compatible warning Date: Wed, 11 Jan 2023 17:24:31 +0000 Message-Id: <20230111172437.5295-1-anand@edgeble.ai> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix compatible string for RV1126 gmac, and constrain it to be compatible with Synopsys dwmac 4.20a. fix below warning $ make CHECK_DTBS=y rv1126-edgeble-neu2-io.dtb arch/arm/boot/dts/rv1126-edgeble-neu2-io.dtb: ethernet@ffc40000: compatible: 'oneOf' conditional failed, one must be fixed: ['rockchip,rv1126-gmac', 'snps,dwmac-4.20a'] is too long 'rockchip,rv1126-gmac' is not one of ['rockchip,rk3568-gmac', 'rockchip,rk3588-gmac'] Fixes: b36fe2f43662 ("dt-bindings: net: rockchip-dwmac: add rv1126 compatible") Reviewed-by: Jagan Teki Acked-by: Rob Herring Signed-off-by: Anand Moon --- v5: none v4: none v3: added Ack and Rev from Rob and Jagan. v2: drop SoB of Jagan Teki added Fix tags and update the commit message of the warning. --- Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index 42fb72b6909d..04936632fcbb 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml @@ -49,11 +49,11 @@ properties: - rockchip,rk3368-gmac - rockchip,rk3399-gmac - rockchip,rv1108-gmac - - rockchip,rv1126-gmac - items: - enum: - rockchip,rk3568-gmac - rockchip,rk3588-gmac + - rockchip,rv1126-gmac - const: snps,dwmac-4.20a clocks: -- 2.39.0