Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp902529pxb; Fri, 22 Apr 2022 13:53:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU461K8jtqa11zE46ZREYc43Hara96DyvvkJLqNgEtttA6H5R4BYvxj8qMg65TqBCCgL2Z X-Received: by 2002:a17:90a:4897:b0:1c7:5fce:cbcd with SMTP id b23-20020a17090a489700b001c75fcecbcdmr18248078pjh.45.1650660813380; Fri, 22 Apr 2022 13:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650660813; cv=none; d=google.com; s=arc-20160816; b=CEyrmqaTR9OP5moJ/53y6IFFFCqSYYeTlxaHWX1h96JQ+ioRbuh7i/QGtJnX2U2+21 EcsKkkcEMvntxVgvW/unB8OIzbdA+J6qG0wJ4fRZm5rCUDaX+/FT01/4H+QU9PX3cRm1 yV9eHt11RIWBr62DTzYqlnzWyuh8j360cS/YCNuM7vBtx+Ia4OfafDGjwPE/0A0R29Q5 6fJacPVXlVNMW8oxqaMRBhy8FB7eMGCRU9Cj+9HpjBUWAoeVmiSHGQwtXOEjlmgJN4kS BrHWDQfmG4IrtsJwREMVgev45WCFyWmHA5Tv1piKFs9z7kYCS/LrugQqi8Ni/9oIOwC8 dmYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=ymt6zLehDv2YaRJlxv7TiKEzkQbOENuBrCPBeLy0sX8=; b=n1f/GhFZckFAhrWu7bBl6u0KiM4eVsLlmEmjQjJpsrw7xTxmKXMYwQ8VBGabtu92fh pwQgzjD3co353TSKMleSqhCB8LakBwWXkzSkGssqVzwR/i+MG2JzoHacoyzniYxpu2kX nDpG8tQ50h6JaXPTK1kAmttwp4q3AbnLF0YytrEm+cKewp2+/2Zq9Fb7Zz+YUNQj3APh bGShP0uw/WVr04162iOaWak3iydckLTrp4ROASAwC6rLYf+QU6Exm1SRGIa84RTqHKpA bXu+Dy8IqCWOhAryeIoAoZOaYSO6EEBo3J+aRgn4Vot2ciiqIY6Dapv4ErMVIuszBeWv DwTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t185-20020a635fc2000000b00398580600aasi9078723pgb.433.2022.04.22.13.53.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2FDEF30FDFD; Fri, 22 Apr 2022 12:47:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358710AbiDTBWN (ORCPT + 99 others); Tue, 19 Apr 2022 21:22:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355704AbiDTBWJ (ORCPT ); Tue, 19 Apr 2022 21:22:09 -0400 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB5CC32EC3; Tue, 19 Apr 2022 18:19:24 -0700 (PDT) Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-e604f712ecso442366fac.9; Tue, 19 Apr 2022 18:19:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=ymt6zLehDv2YaRJlxv7TiKEzkQbOENuBrCPBeLy0sX8=; b=Uwi/HvanS9GVl+ErFko6NTkrKjxiwRKDSIUuD/rZWRqv+IxLv664zR9uIaSdhkZdR2 UK7NV8VzC6i0ZggRFYqhRy8pogsRgHP0cpSYytfxzwZLtYUEjqRMFfiZHhQuTw6yz72k zeKu8tb6xfSXCbyKIkPJTD3zvCjcNkiiUwCer+SAapoXsP7dgQDMZG/3lTSJ8Db+PwI2 6IxxR7hewNua1MICcbiDxuuRDjfZQy1EMB8G81I0qfIuZjyum2/4yxQioSlZHnkNO4Ec WIijzifUeZFgggRpe1gSOKVIDBBbz17mFywkrWxiVrBoiSedKl9fiAQdKkv6spmxo7QV n0lQ== X-Gm-Message-State: AOAM531hXXI0Qssaa0jk4Q559wlDUsu8ZsNNskOTBN8zJwLj4jG1wJ80 7sFMlTzPZJp2RHWqbMHEhYHiNWa6uQ== X-Received: by 2002:a05:6870:5702:b0:e2:9f03:dae1 with SMTP id k2-20020a056870570200b000e29f03dae1mr579743oap.201.1650417564088; Tue, 19 Apr 2022 18:19:24 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id u3-20020a4a9703000000b0033336ab4909sm6080383ooi.7.2022.04.19.18.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 18:19:23 -0700 (PDT) Received: (nullmailer pid 4040590 invoked by uid 1000); Wed, 20 Apr 2022 01:19:21 -0000 From: Rob Herring To: Yassine Oudjana Cc: Yassine Oudjana , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, Ryder Lee , Sam Shih , Stephen Boyd , Matthias Brugger , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring In-Reply-To: <20220419180938.19397-4-y.oudjana@protonmail.com> References: <20220419180938.19397-1-y.oudjana@protonmail.com> <20220419180938.19397-4-y.oudjana@protonmail.com> Subject: Re: [PATCH 3/3] dt-bindings: arm: mediatek: infracfg: Convert to DT schema Date: Tue, 19 Apr 2022 20:19:21 -0500 Message-Id: <1650417561.533052.4040589.nullmailer@robh.at.kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=no 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 Tue, 19 Apr 2022 22:09:39 +0400, Yassine Oudjana wrote: > From: Yassine Oudjana > > Convert infracfg bindings to DT schema format. Not all drivers > currently implement resets, so #reset-cells is made a required > property only for those that do. Using power-controller in the > example node name makes #power-domain-cells required causing > a dt_binding_check error. To solve this, the node is renamed to > syscon@10001000. > > Signed-off-by: Yassine Oudjana > --- > .../arm/mediatek/mediatek,infracfg.txt | 42 ---------- > .../arm/mediatek/mediatek,infracfg.yaml | 79 +++++++++++++++++++ > 2 files changed, 79 insertions(+), 42 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.yaml > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/ infracfg@10001000: '#reset-cells' is a required property arch/arm64/boot/dts/mediatek/mt7986a-rfb.dtb arch/arm64/boot/dts/mediatek/mt7986b-rfb.dtb syscon@10001000: '#reset-cells' is a required property arch/arm64/boot/dts/mediatek/mt2712-evb.dtb