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 8E668C636D7 for ; Mon, 13 Feb 2023 09:16:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229971AbjBMJQO (ORCPT ); Mon, 13 Feb 2023 04:16:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229878AbjBMJQK (ORCPT ); Mon, 13 Feb 2023 04:16:10 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAE93B472 for ; Mon, 13 Feb 2023 01:16:08 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id he5so389606wmb.3 for ; Mon, 13 Feb 2023 01:16:08 -0800 (PST) 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:message-id:reply-to; bh=9xp1f1ClZNE5cUv+RX5qXmus2twTBsJN6syezVKx0s8=; b=gcbQXNr/KgUkr+MrCgtpoSl9reVna7vb/KY4TcMjsqFt/uWfsOL+8VIv2kZFKAXN3/ ZlZlTHynJeVoKi68H0wu5ITc4AO/Svn+DI0Es9LPe2rscNPaP/gisgAKc8I+Y+u8yXjp Bspc3cmrubzquX7CXdLtwyJ36ToCCRha9jnQN/HgwLMD2rdvGoo76c4x/5fdIgdxzMVZ agjQizRF6fEz5wXSvW7YyH52Af9NHdREcYdF1yY9oetUI9EYS1DwuBeoHq6u096lZIuG uuk9dzCc/ScvyP0EZ3P42OtXomXJ+H9aqR9LQph/KmjT0mV12bWmrR5YaGgn2GT6PE4i QQTw== 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:message-id:reply-to; bh=9xp1f1ClZNE5cUv+RX5qXmus2twTBsJN6syezVKx0s8=; b=dq5QntBKgMe/yvZ0ntaxQx1Tkge/C+T8T8QnryZcEA2sC50L7uLwFGKjvOkr3RytTH 7fiaAOEbjH0NYx6s7dDu5jUHFbT+Md6+xIuOi/1YbbtGBoDdbL6xVwVM8cia67y/GtNg oYuiwCngnPMns+CE+QI6yp2dhfsffsD4+/Z5zSN7tCB8WAHQ2CN+GJbvxLW5bQCgzXDU 1NEi1+djmI5uugkACO/z/mtKMHF/csoi4eKgZ6Zc8J1CqBDpZxRjfCo1nAfAZ6I+HGYL /ndCwPzb7IduTmDs1UdkgPXM1woxn+euX1RL6zRppSrYI3xO3eNsOfWkOjlDLuLG9p75 zZ+w== X-Gm-Message-State: AO0yUKXqfz6hqXjQaFx3a3oRVKKv3X2MPIwyAy5bwMd/w7Z1ayys/wmy BUqGfE4oAQWRFm3tydNODkiAdw== X-Google-Smtp-Source: AK7set+GGl89xH8tiPOhMxaLDcaC7fVDbIk2ilrwvdd78yp4famGjU6z+o38lQ5t4v7j0eO3JvzD1w== X-Received: by 2002:a05:600c:340a:b0:3dc:45a7:2b8a with SMTP id y10-20020a05600c340a00b003dc45a72b8amr18539198wmp.10.1676279767343; Mon, 13 Feb 2023 01:16:07 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id k7-20020a05600c080700b003daf672a616sm12678568wmp.22.2023.02.13.01.16.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Feb 2023 01:16:06 -0800 (PST) Message-ID: <25572962-32ad-3175-e4b2-1d13eba45126@linaro.org> Date: Mon, 13 Feb 2023 10:16:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v5 03/12] dt-bindings: arm: mediatek: sgmiisys: Convert to DT schema Content-Language: en-US To: Daniel Golle , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Heiner Kallweit , Lorenzo Bianconi , Mark Lee , John Crispin , Felix Fietkau , AngeloGioacchino Del Regno , Matthias Brugger , DENG Qingfang , Landen Chao , Sean Wang , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn Cc: Jianhui Zhao , =?UTF-8?Q?Bj=c3=b8rn_Mork?= References: <6ea4483df9720a209462bd163d7f7e406d14053c.1676128246.git.daniel@makrotopia.org> From: Krzysztof Kozlowski In-Reply-To: <6ea4483df9720a209462bd163d7f7e406d14053c.1676128246.git.daniel@makrotopia.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/02/2023 17:02, Daniel Golle wrote: > Convert mediatek,sgmiiisys bindings to DT schema format. > Add maintainer Matthias Brugger, no maintainers were listed in the > original documentation. > As this node is also referenced by the Ethernet controller and used > as SGMII PCS add this fact to the description. > Thank you for your patch. There is something to discuss/improve. > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml > new file mode 100644 > index 000000000000..99ceb08ad7c0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,sgmiisys.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" Drop quotes from both. > + > +title: MediaTek SGMIISYS Controller > + > +maintainers: > + - Matthias Brugger > + > +description: > + The MediaTek SGMIISYS controller provides SGMII related clocks to the system > + and is used by the Ethernet controller as SGMII PCS. > + > +properties: > + $nodename: > + pattern: "^syscon@[0-9a-f]+$" Drop nodename, we do not require it per binding. > + > + compatible: > + oneOf: Drop oneOf, unless you plan to use it soon? > + - items: > + - enum: > + - mediatek,mt7622-sgmiisys > + - mediatek,mt7629-sgmiisys > + - mediatek,mt7986-sgmiisys_0 > + - mediatek,mt7986-sgmiisys_1 > + - const: syscon > + Best regards, Krzysztof