Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1528400pxb; Wed, 20 Oct 2021 06:55:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSJjnZVyMkN0O8ocM8SDgjCpMio42d49ZmEAh7RUAnSryfHAA23Qd5G03DQ95RDWdTRYdO X-Received: by 2002:a17:906:6a10:: with SMTP id qw16mr28997884ejc.551.1634738139034; Wed, 20 Oct 2021 06:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634738139; cv=none; d=google.com; s=arc-20160816; b=kDujIjQnAp8LUijFdSVN8YWCSU6rr402D78aixW5uGcJ8D/16DOTYVkWFuJ0ahD66+ 8SLspjyS4j5fK/R2H3fb6EkqDYTh1mdRXh2gOM3i/fZMTOOeXMIfUpbm1jj3PTLllLRo NDZIV5EofO2XZ6H0sjJPJaiezoYNXiXUAg+Ny0IXSVDotC5qKSccs6bfCZCdPonwTKkh Lf/eF05ROhvvcghozhi+0gvdgGraconTbPm8RJmW22LEO5CO98eIGw1dz7+QXT8bIiuO mMI0MPAdQ1rV7s81XyuK1k1jJwcW2xJz7uj52xn/CRvxvtWkQ2/2U8XJXtjJ7jP8MoO5 lugA== 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=PEZXkD74SyZdIyV+d+cp0filvFd2Rp3gOD7po4nsWqk=; b=l1op3MSekp11kwBmPxHre9g2T+dCKw60gtxR6wporskw8f5pSTAZP7dRucrHNZ9PW/ 6HHoTU+TKlxR2t3HPifebjEto9KXwO15WBrDtc6GvvnlFmgPFMJmltrnX38HjKf7Ks2j c1D3i/YV93SSPW5qx5m6l3VwbfjQxQ6CJ7iyBImE8H+rs5NyZ4Sii/JCODsVULu4gcS0 vsLe6qWl1El7M7rY7QKuSSJUJVzNBOHv2zgA4J6l7Fg8+ypDGLQ97QlRIQZ8mlb/XPZ/ 2qBJIrBb3FkNKMKH4F7KpMI69IlJ1PbpI4AX2GKxfWNESga7sbBinrTa+fB63p7Xp8UR 7kOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si5020466eda.575.2021.10.20.06.55.10; Wed, 20 Oct 2021 06:55:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230299AbhJTNws (ORCPT + 99 others); Wed, 20 Oct 2021 09:52:48 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]:41644 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbhJTNwk (ORCPT ); Wed, 20 Oct 2021 09:52:40 -0400 Received: by mail-ot1-f48.google.com with SMTP id v2-20020a05683018c200b0054e3acddd91so6150555ote.8; Wed, 20 Oct 2021 06:50:26 -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=PEZXkD74SyZdIyV+d+cp0filvFd2Rp3gOD7po4nsWqk=; b=E1QbG5V+O58rcE4dqtqqt2TxWHTlYeZwOWaGIBd2krIROaKms9/7ZpHfZFDwe2ovru ZrD0UEf9JhizKPWjtjfsi+FpRtwg00eJ+u2NZfXXlPJnUwc40kpxxxYkhEnbL+8yDyaa 58Kstb+7EmdYy/o7maCatU/i94XMyoJWgVsyeqO+/gX/mKXCvM6FNNnEx2LFnzgo7B6V hc9cwFwP7DVc/8l5fp2ccCnr8JpuE1EAUTqqTxr3UsSpLrURQidf3eWIyCaKae/RYbGc 2Xcve09qRcAl/Ww+Xka2u7JOmsoKJeVesS8dhoqqAsJtjUiNAWAePwR1CXIPYPTpebu/ 5iuA== X-Gm-Message-State: AOAM531C9zrS1bwJ8dsIJtxmQrwd4+NNIEsZ0kCU24ecmT1Wts1PSwc4 d9DwhTW5P8lRHENOlgsXIg== X-Received: by 2002:a9d:715c:: with SMTP id y28mr11044070otj.362.1634737825626; Wed, 20 Oct 2021 06:50:25 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id x12sm423235oot.6.2021.10.20.06.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 06:50:24 -0700 (PDT) Received: (nullmailer pid 2259917 invoked by uid 1000); Wed, 20 Oct 2021 13:50:23 -0000 From: Rob Herring To: Heinrich Schuchardt Cc: Guo Ren , Thomas Gleixner , Anup Patel , Palmer Dabbelt , devicetree@vger.kernel.org, Atish Patra , Samuel Holland , Paul Walmsley , Daniel Lezcano , opensbi@lists.infradead.org, Bin Meng , Rob Herring , linux-kernel@vger.kernel.org, Xiang W , linux-riscv@lists.infradead.org In-Reply-To: <20211020093603.28653-1-heinrich.schuchardt@canonical.com> References: <20211020093603.28653-1-heinrich.schuchardt@canonical.com> Subject: Re: [PATCH 1/1] dt-bindings: T-HEAD CLINT Date: Wed, 20 Oct 2021 08:50:23 -0500 Message-Id: <1634737823.662456.2259916.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 Oct 2021 11:36:03 +0200, Heinrich Schuchardt wrote: > The CLINT in the T-HEAD 9xx CPUs is similar to the SiFive CLINT but does > not support 64bit mmio access to the MTIMER device. > > OpenSBI currently uses a property 'clint,has-no-64bit-mmio' to indicate the > restriction and the "sifive,cling0" compatible string. An OpenSBI > patch suggested to use "reg-io-width = <4>;" as the reg-io-width property > is generally used in the devicetree schema for such a condition. > > As the design is not SiFive based it is preferable to apply a compatible > string identifying T-HEAD instead. > > Add a new yaml file describing the T-HEAD CLINT. > > Signed-off-by: Heinrich Schuchardt > --- > @Palmer, @Anup > I copied you as maintainers from sifive,clint.yaml. Please, indicate if > this should be changed. > > For the prior discussion see: > https://lore.kernel.org/all/20211015100941.17621-1-heinrich.schuchardt@canonical.com/ > https://lore.kernel.org/all/20211015120735.27972-1-heinrich.schuchardt@canonical.com/ > > A release candidate of the ACLINT specification is available at > https://github.com/riscv/riscv-aclint/releases > --- > .../bindings/timer/thead,clint.yaml | 62 +++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/thead,clint.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/timer/thead,clint.yaml: properties:compatible:items: 'oneOf' conditional failed, one must be fixed: [{'const': ['allwinner,sun20i-d1-clint']}, {'const': ['thead,clint0']}] is not of type 'object' ['allwinner,sun20i-d1-clint'] is not of type 'string' ['thead,clint0'] is not of type 'string' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/timer/thead,clint.yaml: ignoring, error in schema: properties: compatible: items warning: no schema found in file: ./Documentation/devicetree/bindings/timer/thead,clint.yaml Documentation/devicetree/bindings/timer/thead,clint.example.dt.yaml:0:0: /example-0/timer@2000000: failed to match any schema with compatible: ['allwinner,sun20i-d1-clint', 'thead,clint0'] Documentation/devicetree/bindings/timer/thead,clint.example.dt.yaml:0:0: /example-0/timer@2000000: failed to match any schema with compatible: ['allwinner,sun20i-d1-clint', 'thead,clint0'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/1543771 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit.