Received: by 2002:ac2:48a3:0:0:0:0:0 with SMTP id u3csp574830lfg; Fri, 11 Mar 2022 13:47:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZ6syCmY1cQy0UDHDGtr/yuRlEI6kwlTI8kMYWMyS3JP91nXuLgOcl4mrkJh6rjcVxYcp4 X-Received: by 2002:a65:45c8:0:b0:380:352e:825b with SMTP id m8-20020a6545c8000000b00380352e825bmr10034135pgr.509.1647035269002; Fri, 11 Mar 2022 13:47:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647035268; cv=none; d=google.com; s=arc-20160816; b=n/oj7OSRuKacR7/rkzdzjlmXsi/pCJZ2UmHLPRgw81/m4MtywsWNA95Lq6FAa3IhO0 1FRuMqpM9kil8iDw5D8TPf/9My0o96m/5VsP9KuTXMx7C4eKPGhmW9TfT1oHx5XqxfNr THk/gPtjesGOgTuKiloxviCR3M7wBagmav59Mq+QeRA/rhgQf4V/FMkGIkmnNAoeZ3WE 4gMg7MTbvA3jo6VHDJpb9XOhoiwrA0Ggt7aLxgGCEPAHZyoXxZzoF+Rv3g8Tn+BNOfnO d5h1GxUdKuxi8yAoQTFhIbixoXbkhCoi1tzEqZTH0kPEw3s62DO+aJn/i4XcY5zyIy87 pnvw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xIzYRU2oNWdduxoY6MvZtjPiNpiB0Z8z/sKuAw0C2qc=; b=YIMcJ17g5fcPHOGGY3Gsc5vCwwlXJl9onpVcpke1ylnbSCAiPz+qA7Yos7m+hY7fcG qmKHGLwr4EIdhRDhmyNevHN09BUuK37xBLKcFzl6eufhuHqqAodlerXckxRBZJPlSg9b KiWfPxvFl4dsByMlL0S1uz7iMdy7dlJ5kyabbnvOSzpPtIasKP9LD3CuCx6EuTnxLN79 u+NniD4JwmAasNAlVJLar6ggfxYhfTYt1XjH46umEAfJGczFPYarBsNP2fwHuA0qlB2r fljcYN033//39+GbiS0lGh2ljB9tsy0SeNYfr8pn1yyvXK0dFkshuVgn8CNTsb8RLzqN TfAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=G25XzcX9; 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=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j9-20020a056a00130900b004f777b51012si5709089pfu.306.2022.03.11.13.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 13:47:48 -0800 (PST) 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; dkim=pass header.i=@canonical.com header.s=20210705 header.b=G25XzcX9; 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=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 31D44248CF0; Fri, 11 Mar 2022 13:09:48 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347500AbiCKJdm (ORCPT + 99 others); Fri, 11 Mar 2022 04:33:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347497AbiCKJdj (ORCPT ); Fri, 11 Mar 2022 04:33:39 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9328C1CFCE for ; Fri, 11 Mar 2022 01:32:33 -0800 (PST) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 73B7D3F312 for ; Fri, 11 Mar 2022 09:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646991152; bh=xIzYRU2oNWdduxoY6MvZtjPiNpiB0Z8z/sKuAw0C2qc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=G25XzcX9UzWc6Fer2I4w/TXp+eRIN428xF2+P4x8/tSpHnwJkB6Pd+3+G7D2s0wMM U0A2uH/ZFZJ6EU4CsIKIeJaI2VSYbMYx3GuY/Ia+dKv8NPZFeMqjOE5Fp29yb8IZkG rTrMGl7pGl/GqMDVdA6Y0E+JVEVkDMber9Xc5gaZ+3uRVvPbkDNS6FjyZYhch7UwVj 2pJUKnx4IkHyZWr9SqolCI5mmxDwbvv2u9Lc00YwY5xvh0X8Mhtu+zMr57sehekM1i yRXSDislJ1nU7KHueRrsPE+8TFdN/lx3c08lh24aZVi8WIN5O7EavSt5f3i9AIBvFF sxoKghVyClESw== Received: by mail-ej1-f70.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so4597416ejw.9 for ; Fri, 11 Mar 2022 01:32:32 -0800 (PST) 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:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=xIzYRU2oNWdduxoY6MvZtjPiNpiB0Z8z/sKuAw0C2qc=; b=XGo62Z4w9ZOFk5vNeJz+pjn7tDEyHNinYxqw6ftHvucPHTSUZU6Wk8dhZ7sCE8WUHd LSbpa0xyKyPy2e7NZ1sRkb82uJ0z+yTs/fL4W0IbE14Rnrrt4pV/zkpRNQJ0yCSLFWdB NNRfQbFGcKymEboNmcNbX0oEvdXC6N/2ZfpCmP+ITm4o6GYWPY8+sTO8HT6oPggwgsme nPlWR2t47fMd23cFAFMTnfKLCftI5HQsAEIDJMVxCov7ev4mw3vDffneKjCyZeSk6PXq 9UTFmwFGVNdCxaWHsAoTtJuJe7y92Pw/fRjmvm3U2yA7RmOVXV/DuAimgMfsQSm6jiPK Rcmw== X-Gm-Message-State: AOAM532O183PpMr4D/Fea9tavLMSxGwieVmgjIWnX6HSfNAZIYpBisur Rh02a2Fg5gT+CavHGu8zkaKycZ26rpvqDKwt6E0iBHlrfMuOkvz6O1dxz8q0lyG2QqaeG03xpWS pyde4W2j95vKiLfucxVpCO391wRV8ywy0QudgpJY/5A== X-Received: by 2002:a05:6402:34cc:b0:416:63d6:1891 with SMTP id w12-20020a05640234cc00b0041663d61891mr7996167edc.308.1646991150508; Fri, 11 Mar 2022 01:32:30 -0800 (PST) X-Received: by 2002:a05:6402:34cc:b0:416:63d6:1891 with SMTP id w12-20020a05640234cc00b0041663d61891mr7996145edc.308.1646991150320; Fri, 11 Mar 2022 01:32:30 -0800 (PST) Received: from [192.168.0.148] (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id bo14-20020a170906d04e00b006ce98d9c3e3sm2734617ejb.194.2022.03.11.01.32.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Mar 2022 01:32:29 -0800 (PST) Message-ID: Date: Fri, 11 Mar 2022 10:32:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3 05/10] dt-bindings: timer: Add HPE GXP Timer Binding Content-Language: en-US To: nick.hawkins@hpe.com, verdun@hpe.com Cc: Daniel Lezcano , Thomas Gleixner , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20220310195229.109477-1-nick.hawkins@hpe.com> <20220310195229.109477-5-nick.hawkins@hpe.com> From: Krzysztof Kozlowski In-Reply-To: <20220310195229.109477-5-nick.hawkins@hpe.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 10/03/2022 20:52, nick.hawkins@hpe.com wrote: > From: Nick Hawkins > > Creating binding for gxp timer in device tree hpe,gxp-timer > Although there are multiple times on the SoC we are only > enabling one at this time. > > Signed-off-by: Nick Hawkins > > ---- > > v2: > *Removed maintainer change from patch > *Verified there was no compilation errors > *Added reference code in separate patch of patchset > --- > .../bindings/timer/hpe,gxp-timer.yaml | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml > > diff --git a/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml b/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml > new file mode 100644 > index 000000000000..1f4e345c5fb8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/timer/hpe,gxp-timer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HPE GXP TIMER > + > +maintainers: > + - Nick Hawkins > + - Jean-Marie Verdun > + > +properties: > + compatible: > + const: hpe,gxp-timer > + > + reg: > + items: > + - description: T0CNT register > + - description: T0CS register > + - description: TIMELO register > + > + interrupts: > + maxItems: 1 > + > + clock-frequency: > + description: The frequency of the clock that drives the counter, in Hz. Which clock is it? Generated inside the timer? If outside, why driver does not take the reference to it and uses clk_get_rate()? Best regards, Krzysztof