Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp950851pxb; Fri, 22 Apr 2022 15:09:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwg/Lj1/TDy3YETGN0Pu5qelsp7zt0Z6h4rSdMk2r/zCiOXaB/9PudqmB99cQpBJ+uhSty X-Received: by 2002:a63:ff08:0:b0:3aa:594e:5735 with SMTP id k8-20020a63ff08000000b003aa594e5735mr5603044pgi.183.1650665349579; Fri, 22 Apr 2022 15:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650665349; cv=none; d=google.com; s=arc-20160816; b=WxWbhyDbbc8zixuu6uwra8JHWW91nAeOjduHhfJHT4BmYlccEVM1iGdhl8B7XhIoVB b5CgFPYe0JDLAqrSH0HntTXSHIiYnZoMx41JWBod2s0tsolPgmMsG9ArA+AQjpT3TwlN o6vlXbW3t/KZfwesXoZT7W1ShI3Ub72BdmoSAqbASV71xe8owiuE6MD0xlaQYlKitUst S9wUJPp29Ml/zNb7LpvkFluiOVNI4RatmnrBHXu/ujJxNkNlfw2/97HU5AJ3jX4dWeLC c5Um/mQ49HvgZqil/nUm1vgM2F+JWWjTfKh3ioOQ5ib+PXx3rSuhxlmygm0q963t781g izag== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=9uzVgdbnNBXZaj+xly+bx359WI4zRoQI5FjtgADEBW0=; b=YviRrdpdN67KMPm3Ae9DlU34BZYtcbzG3eKmy5wHFjAwujvyizSHXr0S10K3VDs42s 1nRTygtiuETdErluwy5Gn3As4QL6yb/boUMPlNY96Af1TfBoPtyDTXbuFqDiJQi3L1j1 dl1MacJQw0RYnmNmfPNBdWmKSqtNhcPY8g5V5rayOHF8nje5T5sFOHbA1pWyZxJAzVF0 PYkXmsXjr4jite9ful1AigJgdaNLOxFJ/zvPtVMVi4wnu6f5evCi05qpqRALEcAVKs8y IZW+abegc3+dT3Wz5vwX2cjV67zUVfpuqX5KXJeXKqEXXwKqpwbe2+eIsuZE7vY7btKY hBwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S1hEIoiD; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f20-20020a056a0022d400b004fa3a8dffbdsi9310513pfj.116.2022.04.22.15.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:09:09 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S1hEIoiD; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2427E3911C1; Fri, 22 Apr 2022 13:15:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357501AbiDTGvj (ORCPT + 99 others); Wed, 20 Apr 2022 02:51:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbiDTGvh (ORCPT ); Wed, 20 Apr 2022 02:51:37 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADFE6576 for ; Tue, 19 Apr 2022 23:48:52 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id s18so1585555ejr.0 for ; Tue, 19 Apr 2022 23:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=9uzVgdbnNBXZaj+xly+bx359WI4zRoQI5FjtgADEBW0=; b=S1hEIoiDmJQ5F60K6iW2OrVRkegrcBBnOiVG/QccBRbUzlvLB7dozEncz0TnysxDv2 FNqn0DTAOA4Q2I7V8GVKaw1i2NPEeQXKphyrqggpzxaDYUSClbIhcQp0+9i6iYSFu7bS 3izRWeFlXNNCXQssXVTHnL4FoKkdgGPoQ2vQMrWlaKAobfQmVkpSXD8j7qGeGRSANGYD qSiNfQSnN7UgnguVZfXmP7KljNKkZ8YHOB98cA5LtbxLKR3AUqxhR2xNu8ZcjoeWHIOB keopxTJEGVgV6/z+1eDrgrEgVnXYMJyKfXrVB7Uyf5nlhLCH30oUjauesWLm7jKti+aS VafA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=9uzVgdbnNBXZaj+xly+bx359WI4zRoQI5FjtgADEBW0=; b=EUUhw3eBf+SODTLzk/or0GBgj08F5l8tClq9nBW/YNpsRC+qGmMtt1GfC6c4H8lW/Y QZjIM3inzKkakFc9MalZetzwwW9rDQpVNRMoy5YKxL0vXeG44wNZ37Zqoj4Exv/KiNT4 A5Oi2b+17Xbj8DDtGVFU3EdxH0o1+zzI/GqAbtYztJuKoov0psEj/wuxA1oQD47n5tIa XcAd712aEcAxdwO2lswJCaE34hvh/DxXuniPcnbkDew2uiD6vTSM+OGXLat1aOZit5Z5 Wx6cpfRPMq5+kKdzyDNs1o3O7VdNQl7pgmW3+sq7RutLFyaMPeTXX9VgXEYLmqJhEelV btrg== X-Gm-Message-State: AOAM5325O7sA/fZCGDpPPS50gcrnwzQoNlJ8AU8URkG15sq5KYlJqt97 0F1jYLIsgAgrI3buGa3C5akoMw== X-Received: by 2002:a17:907:d16:b0:6d6:e3b6:9cd8 with SMTP id gn22-20020a1709070d1600b006d6e3b69cd8mr16733035ejc.94.1650437331372; Tue, 19 Apr 2022 23:48:51 -0700 (PDT) Received: from [192.168.0.222] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d6-20020a170906304600b006ef5da1b1besm5171288ejd.221.2022.04.19.23.48.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Apr 2022 23:48:50 -0700 (PDT) Message-ID: Date: Wed, 20 Apr 2022 08:48:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 1/3] dt-bindings: arm: mediatek: topckgen: Convert to DT schema Content-Language: en-US From: Krzysztof Kozlowski To: Yassine Oudjana , Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: Sam Shih , Stephen Boyd , Ryder Lee , Yassine Oudjana , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220419180938.19397-1-y.oudjana@protonmail.com> <20220419180938.19397-2-y.oudjana@protonmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 20/04/2022 08:47, Krzysztof Kozlowski wrote: > On 19/04/2022 20:09, Yassine Oudjana wrote: >> From: Yassine Oudjana >> >> Convert topckgen bindings to DT schema format. MT2701, MT7623 and >> MT7629 device trees currently have the syscon compatible without >> it being mentioned in the old DT bindings file which introduces >> dtbs_check errors when converting to DT schema as-is, so >> mediatek,mt2701-topckgen and mediatek,mt7629-topckgen are placed >> in the last items list with the syscon compatible, and syscon is >> added to the mediatek,mt7623-topckgen list. >> > > Thank you for your patch. There is something to discuss/improve. > >> diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.yaml >> new file mode 100644 >> index 000000000000..9ce9cf673cbc >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.yaml >> @@ -0,0 +1,60 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,topckgen.yaml#" >> +$schema: "http://devicetree.org/meta-schemas/core.yaml#" >> + >> +title: MediaTek Top Clock Generator Controller >> + >> +maintainers: >> + - Matthias Brugger >> + >> +description: >> + The Mediatek topckgen controller provides various clocks to the system. >> + >> +properties: >> + compatible: >> + oneOf: >> + - items: > > These are not a list, so skip items. Just enum. Rest looks good. Actually one more through - this looks like clock-controller, so please move the binding to ../bindings/clock/ directory. Best regards, Krzysztof