Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1484229rwb; Sun, 2 Oct 2022 01:52:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5j10VuQvuHWEq53068yMUuI0cYietH6V2vOkS29X/SiKpx5X9EuCHYoU3DXbRDnoI52Wgs X-Received: by 2002:a63:1b4d:0:b0:439:db24:a3a6 with SMTP id b13-20020a631b4d000000b00439db24a3a6mr14541780pgm.539.1664700747057; Sun, 02 Oct 2022 01:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664700747; cv=none; d=google.com; s=arc-20160816; b=ZcDXDg4zNf7b+ovBLlXRGtkzt8NAjOjCM65Y798KORgNTyCjKQySZd4H7tb1p6lq0h 5hL+1aZLr+6iDsxMfdwhQlfGgjG6YW4lDyteB62RPRajn0GSuM/+dEH8WrJv1kL/UMDV /UWxjsop+g22gkPc27Pzm6Vxw7+2O20l/VHVcY/09ZA8+SdfawTmzlBsRzNSOgz7AjM8 wgefHUJOvjbYelGRtXVPSOSG8VrP6qnF7Il+PIDApewxKEO0aiCrS1vGPU+WhWjwTnFx 1G1nGj3A59ql2REaxTtKMjIUdyXBNfk+VhwQpCVsWY69p7XngfnFXOaz8wfikg5k47Nb W2rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4vfWsjY57/5il+Q1FyIltb4lN+Qrd7nGTflpU17Qi8A=; b=Wg9NeXkeGCW5hD2G35n/AsRS3zvJv21xRgmv0JWFuQ9Gu9WZxV8BhRvI8VyeUEQjmk 5Au79lJb8kv1ARAiXrTZSPPYjY1jv7uLnAYXTeqNtSUMDVyKEp//PyXPx8ld9e30J53c 7RH7//y6InragbDfzttug1wzCJrX4WDjaHsmryydxXZbb4hT2anZXyk1WFs7am8+BTbg 5q727MuuhKkBHUt1lIGuEiNxGFDRqRr6RuNT3hUAGX6F9/Q4YKqxPRDbg5IEHlXRCz6F VRBwxvmz5/f9GJ7TJ1Wsa80QlxkUCzTXyFDC96sCfablJQFEQkwS/DOhhdOu0Hlh00c+ Yamw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jLbk83gC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a12-20020a655c8c000000b00437ec09f591si7906822pgt.135.2022.10.02.01.52.08; Sun, 02 Oct 2022 01:52:27 -0700 (PDT) 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=@linaro.org header.s=google header.b=jLbk83gC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229740AbiJBIBB (ORCPT + 99 others); Sun, 2 Oct 2022 04:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbiJBIA5 (ORCPT ); Sun, 2 Oct 2022 04:00:57 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83C65326D1 for ; Sun, 2 Oct 2022 01:00:54 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id c2so6286425lfb.10 for ; Sun, 02 Oct 2022 01:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=4vfWsjY57/5il+Q1FyIltb4lN+Qrd7nGTflpU17Qi8A=; b=jLbk83gCtDhr6Oc319IjTZW1fGmVAQBNCMI0L1H6XX9Rz7ppPIhCAqr+iE8SnvaU2A VkSoJ6HJhWCT8xMJEy+sZ36Ko5nkwaf2cNMcut6Xw7+El6Jc9EphakEbTOCbxfP6Swp1 met5VMtERbykbHKHceLQFfa2mMloBkyXP1Jt3Q+8khYTlMQ59QuwGMErVzZBtuWJg4/A yHzUpbB0G1pacP5r80Kbe39re4RusIWkiM5p4WdBUHBnUmpIfQb+KbGzjZsLPvugFveX jveuxh90nQhhMVXRaXsipfrYpg/D8nTLDHbp1ZDYyZaz8mLDhMwqe4PIwLOl0OW0t+CI 478Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=4vfWsjY57/5il+Q1FyIltb4lN+Qrd7nGTflpU17Qi8A=; b=NjFMjt+1XnIdZjmJVo/6bwpXq5dyanAp1HTbwoHna9StQ0hrTX/GWpX1ssMrN9RDxw NyH4TDyfVs/ErAt5Ef9XekpUEMT0sH4Lq1dsUP4WH0lIL1RPQ7MFbXm2Xap6IyC6LprW 8W+R+xyVpjp3o1Xyi3eEUJ3bq50+hUd4Am+72z28JiLvx8Z69IstDzDs7TGmmFKRC9Um 0vMVHtV55nMKz9v1WB2m7V5qBTGMY2AV3JjlenYCJx9AbXWmCUBvUmVaGpmCcN7K3fTz QdSKiGl0tAJwtoGdaf02SkMawi3IZ03cv0ZxxgimsHzDLoJ39UKTJm7/tJgPhqQ93TWr zZSw== X-Gm-Message-State: ACrzQf2xHMdew3rTAMAsTVoUrSYV3I59OlV5Y1jY1e7hBr+E17kalqj6 o20KXpkbI7dEqKa1n7F4mreo9w== X-Received: by 2002:a05:6512:224b:b0:49f:9e09:584e with SMTP id i11-20020a056512224b00b0049f9e09584emr5564423lfu.524.1664697652137; Sun, 02 Oct 2022 01:00:52 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id n5-20020a0565120ac500b0048af3c090f8sm1008733lfu.13.2022.10.02.01.00.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Oct 2022 01:00:51 -0700 (PDT) Message-ID: <3b234066-268d-8da9-caa6-ca4d693dc0d0@linaro.org> Date: Sun, 2 Oct 2022 10:00:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v2] dt-bindings: net: marvell,pp2: convert to json-schema Content-Language: en-US To: =?UTF-8?Q?Micha=c5=82_Grzelak?= Cc: davem@davemloft.net, devicetree@vger.kernel.org, edumazet@google.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, mw@semihalf.com, netdev@vger.kernel.org, pabeni@redhat.com, robh+dt@kernel.org, upstream@semihalf.com References: <20221001155353.10211-1-mig@semihalf.com> From: Krzysztof Kozlowski In-Reply-To: <20221001155353.10211-1-mig@semihalf.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On 01/10/2022 17:53, MichaƂ Grzelak wrote: > Hi Krzysztof, > > Thanks for your comments and time spent on reviewing my patch. > All of those improvements will be included in next version. > Also, I would like to know your opinion about one. > >>> + >>> + marvell,system-controller: >>> + $ref: /schemas/types.yaml#/definitions/phandle >>> + description: a phandle to the system controller. >>> + >>> +patternProperties: >>> + '^eth[0-9a-f]*(@.*)?$': >> >> The name should be "(ethernet-)?port", unless anything depends on >> particular naming? > > What do you think about pattern "^(ethernet-)?eth[0-9a-f]+(@.*)?$"? > It resembles pattern found in net/ethernet-phy.yaml like > properties:$nodename:pattern:"^ethernet-phy(@[a-f0-9]+)?$", while > still passing `dt_binding_check' and `dtbs_check'. It should also > comply with your comment. Node names like ethernet-eth do not make much sense because they contain redundant ethernet or eth. AFAIK, all other bindings like that call these ethernet-ports (or sometimes shorter - ports). Unless this device is different than all others? Best regards, Krzysztof