Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp24871ybr; Thu, 21 May 2020 23:31:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLDGwLIPX6nD/K57MabB5T3aujttOKUIqkgJnR2Q7cK7T8rCV3aZsrk1xsvmt2ynAc9meo X-Received: by 2002:a50:8dc2:: with SMTP id s2mr1879451edh.318.1590129096140; Thu, 21 May 2020 23:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590129096; cv=none; d=google.com; s=arc-20160816; b=Z7qYCAhmw95eEcSzP8WDhUvW6LicR93OZc4mzyt6v3Wd3FQxvcYuasq1nwpfAI3RQs BNN6cW6k/YfcSf3I6GpVvX4HanCXaZb2HbHN1fbuJxhNv6iS48zJB/XeMpygEGloL5lG hSmo9pAd6WB7cCyqgtLGiCf72gddLAmjCumlrR4ApCB4q07Wlvny2rVrYy4w879KtJpv JSmrZkyKQscVCLJSwTuCPS9vJ1soS5M97FJVCYd/fAooCbdAYoGrH3BZTB86lhRebkyr HcheDVDYRsGtKMscDXoTxt542C1IAUQ0sqzfYvnAMH477ZB8T3WB9AkjN0fryb4Xh/kN DCkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=HjmL6pfe0f3OhioV2JNbpEM60lA22erI2gsb1y8QDSY=; b=kvTTzf9ksGPq1gzRPAJZkcnTUU/Rqp6t9/H3uY6VACOmoXyieiSRkfwGJyXQdHbzP3 xlFusOmfyxCB/uFVaCk1stQWrg0w+GXUVaeV50I3qtA/sPWgyDJJBTGJWYEMATE8JTtB ejM0pti4n0rIVgWQLQhZDTC+MkFo/l3YuJ7aXQaGKc70wwLlCYByNscCHgNri/32VRAH iE2/EayzHNbyUblL2tL5Ta9lQtj2BmoXLg1mmx05s7wAb0WpDPa7Hydq1aul5ycdu9eZ wWjT66F3J8LA25MXa5O9AoR6wHf45xtWPMZ9vfG0v/ioD8utKJuz9ttfUKPNE/8Z4CDU i6sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PT4yOoiu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e4si4274204edm.144.2020.05.21.23.31.13; Thu, 21 May 2020 23:31:36 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PT4yOoiu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728102AbgEVG3k (ORCPT + 99 others); Fri, 22 May 2020 02:29:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727839AbgEVG3j (ORCPT ); Fri, 22 May 2020 02:29:39 -0400 Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 682C2C061A0E; Thu, 21 May 2020 23:29:39 -0700 (PDT) Received: by mail-qv1-xf44.google.com with SMTP id er16so4283340qvb.0; Thu, 21 May 2020 23:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HjmL6pfe0f3OhioV2JNbpEM60lA22erI2gsb1y8QDSY=; b=PT4yOoiuKuBt/zdxmrF57ViJ9qT4kYjccVUk7DVs1GipOIi/hfbL9Tn+woIX5fd3wM wIrnNvSTAYlQb7jgE5DUtDGU28+L7wK9Hc21fd43W8HRmTpJlLck6DsR1xgmoMxSdZLv 0UjE2FWy02blFLBedkvCwOdgLSud9h4kfXlPTWpWBXSE6nU+HyQlkVTdOkMAqwjPjhhe SWbw+VF30WeZNPacf1fW49o2HbnC1oRKurYqgjoNRLMIWvxL4IreseJZK4VKskzt2bFf GsNys43B9ssz6DIml/iE/vIJmO7UKbtBWOqTcO+dBgTyYdzSRyphExX9opYO73n+L0f+ asug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=HjmL6pfe0f3OhioV2JNbpEM60lA22erI2gsb1y8QDSY=; b=lsKm/joNmvg8iQM72H7WjMO1AHnlDouoxTFrgnMMBe2/b+O/x1LshxNFoZo6m2FIvU 2yfWN5uhFdqOJZmgwZgNA5GOVz7WEtkefhxXEMHC8VDNVmq4FD/O/fjHGg9fDMw64Cq3 YCrLq532TEjk1WoRIhkAt9XgWzPhgwrwd9fnU/3O6tPv8mXQtaik/w7hhE7LDQspeHlv BroVn+LyROuGdTZAG/1nzV7udBgeZUewRjV0sWWMLWYxs5vjeaNSktIDNVGmZ/bow2C3 u4xvZxhyoDvzmhJtY8HO1bCXP3pEIQSmofx0H6+sjPvCUxU2KFE+tR9gBaP1IpPON6+F UrOg== X-Gm-Message-State: AOAM532xeG6ZoOAEKTN/40T4m3lQv8jAnIYftqxRpAw3Yng/Zl4fQTVH XdVMTsc3cMrOXDH01Zyc90g= X-Received: by 2002:a0c:b60c:: with SMTP id f12mr2308661qve.244.1590128978414; Thu, 21 May 2020 23:29:38 -0700 (PDT) Received: from [192.168.1.209] (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.googlemail.com with ESMTPSA id v4sm6198876qkv.43.2020.05.21.23.29.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 May 2020 23:29:37 -0700 (PDT) Subject: Re: [PATCH 5/5] dt-bindings: timer: Add CLINT bindings To: Anup Patel Cc: Anup Patel , Palmer Dabbelt , Paul Walmsley , Albert Ou , Rob Herring , Daniel Lezcano , Thomas Gleixner , devicetree@vger.kernel.org, Damien Le Moal , "linux-kernel@vger.kernel.org List" , Atish Patra , Alistair Francis , linux-riscv References: <20200521134544.816918-1-anup.patel@wdc.com> <20200521134544.816918-6-anup.patel@wdc.com> <2aec08b7-7197-4b60-89d9-c3b0d5a8a258@gmail.com> From: Sean Anderson Autocrypt: addr=seanga2@gmail.com; prefer-encrypt=mutual; keydata= mQENBFe74PkBCACoLC5Zq2gwrDcCkr+EPGsT14bsxrW07GiYzQhLCgwnPdEpgU95pXltbFhw 46GfyffABWxHKO2x+3L1S6ZxC5AiKbYXo7lpnTBYjamPWYouz+VJEVjUx9aaSEByBah5kX6a lKFZWNbXLAJh+dE1HFaMi3TQXXaInaREc+aO1F7fCa2zNE75ja+6ah8L4TPRFZ2HKQzve0/Y GXtoRw97qmnm3U36vKWT/m2AiLF619F4T1mHvlfjyd9hrVwjH5h/2rFyroXVXBZHGA9Aj8eN F2si35dWSZlIwXkNu9bXp0/pIu6FD0bI+BEkD5S7aH1G1iAcMFi5Qq2RNa041DfQSDDHABEB AAG0K1NlYW4gR2FsbGFnaGVyIEFuZGVyc29uIDxzZWFuZ2EyQGdtYWlsLmNvbT6JAVcEEwEK AEECGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4ACGQEWIQSQYR1bzo1I0gPoYCg+6I/stKEQ bgUCXT+S2AUJB2TlXw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q1wOt3rRzOuw+qnWVgWGBPxdDftz0Wck941tYF9XE0aMgkf4o1sGoDZFUFPCQdfEYPzzV7O S5hN3/mP5UeooFHb Message-ID: Date: Fri, 22 May 2020 02:29:36 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/22/20 1:54 AM, Anup Patel wrote: > On Fri, May 22, 2020 at 1:35 AM Sean Anderson wrote= : >> >> On 5/21/20 9:45 AM, Anup Patel wrote: >>> +Required properties: >>> +- compatible : "sifive,clint-1.0.0" and a string identifying the act= ual >>> + detailed implementation in case that specific bugs need to be work= ed around. >> >> Should the "riscv,clint0" compatible string be documented here? This >=20 > Yes, I forgot to add this compatible string. I will add in v2. >=20 >> peripheral is not really specific to sifive, as it is present in most >> rocket-chip cores. >=20 > I agree that CLINT is present in a lot of non-SiFive RISC-V SOCs and > FPGAs but this IP is only documented as part of SiFive FU540 SOC. > (Refer, https://static.dev.sifive.com/FU540-C000-v1.0.pdf) >=20 > The RISC-V foundation should host the CLINT spec independently > under https://github.com/riscv and make CLINT spec totally open. >=20 > For now, I have documented it just like PLIC DT bindings found at: > Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.= 0.txt The PLIC seems to have its own RISC-V-sponsored documentation [1] which was split off from the older privileged specs. By your logic above, should it be renamed to riscv,plic0.txt (with a corresponding change in the documented compatible strings)? [1] https://github.com/riscv/riscv-plic-spec >=20 > If RISC-V maintainers agree then I will document it as "RISC-V CLINT". >=20 > @Palmer ?? @Paul ?? >=20 > Regards, > Anup >=20 --Sean