Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4360745ioa; Wed, 27 Apr 2022 01:56:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxo0WL7in1DNCx4ZQRF7B5YEkK+LLLMb7JWkX0nWtms1ZC0oD5GkeQA2Y7tZrr5tdrJviq X-Received: by 2002:a63:2a83:0:b0:3aa:8d90:a6b7 with SMTP id q125-20020a632a83000000b003aa8d90a6b7mr22811568pgq.314.1651049787126; Wed, 27 Apr 2022 01:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651049787; cv=none; d=google.com; s=arc-20160816; b=ZsFYNFdg7OOZoXwoE/NeOh/Y7fuUP8M+1Qeq/werc6A05I02fjReMTczebhP5rwnNn LP8VuELaDNgyVlpbJsPAXJgKlVwXtUrGboRhwpHCJoZLpdTCeL+RABNZ3cBYJWDvCfzR Coux093q/HkzfrKHNFF/vIaBQDlLc12lI8cFsqKDYglE1x65JslSX3z9sakeGGNUSAA9 p5u8Mx5TxNqdbKSzb5Q+g++yxMiOT5HR0ju+mNIca0fc/jn5Ek+YFAhyg2EaJ8FDwEYd Dx+7SyUmyE/whzcmA+TgCroh/el2pcBiaXgaediQgoqcAZQs+8BpPWh2WeMGIlGHugjF ZIUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=11AWz2spQ0YLjJEnSWN+uMCFuBuNaxq6LdqVtlNy6wE=; b=kmJXYi5KH4/zqGVt+PoICeNDbcQUjmP6XKOFLspIIACL1mo3yKwTSpbGB3i8FHDMd8 b+HdRP+vGBNT58VsSBGpYcQSCYAHMKkRjwfBTAIg+rLTSfY7NLZPirl2tI7tjFmo93f2 n7JDR3GHR+TKbcKX5K1O91kbyeS5niKeiWvhdfsOQdi+h2dOncAYRf4Bg924ntaVTcqh 13eSPbNe3CaAqgRLruHXpmsh9BYtsJ5eQ1qEFkzUgnvTxPuYQo3pcSUQT6pCIy+IqcUc C1UZ49iv1fiU4T7mh0nmDAjJvsb8uPIhdAfzeOtnF8RDzyZK0aCYrUXW7pgPiseEyGkU a19Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w191-20020a6382c8000000b003abaac3b51esi765448pgd.700.2022.04.27.01.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 01:56:27 -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; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BC7D91AF64F; Wed, 27 Apr 2022 01:53:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236877AbiDZV65 (ORCPT + 99 others); Tue, 26 Apr 2022 17:58:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355575AbiDZV6y (ORCPT ); Tue, 26 Apr 2022 17:58:54 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FAEF3E5DD for ; Tue, 26 Apr 2022 14:55:44 -0700 (PDT) Received: from mail-yw1-f171.google.com ([209.85.128.171]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id 1Mo73N-1oD0Hl2snL-00pbtm for ; Tue, 26 Apr 2022 23:55:42 +0200 Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-2f7ca2ce255so97938347b3.7 for ; Tue, 26 Apr 2022 14:55:42 -0700 (PDT) X-Gm-Message-State: AOAM533h707AcDM6gNoqKAaopHFQRvwPfHcVv9WJV3LqIZF1JgdYFVdR wHEZzNahnVUMjD8dSw1QeTcvt/D2iiZ0wU+MC8A= X-Received: by 2002:a0d:d101:0:b0:2eb:4bd7:bcc1 with SMTP id t1-20020a0dd101000000b002eb4bd7bcc1mr24608932ywd.495.1651010141538; Tue, 26 Apr 2022 14:55:41 -0700 (PDT) MIME-Version: 1.0 References: <20220421192132.109954-1-nick.hawkins@hpe.com> <20220421192132.109954-5-nick.hawkins@hpe.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 26 Apr 2022 23:55:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 04/11] clocksource/drivers: Add HPE GXP timer To: Rob Herring Cc: Arnd Bergmann , Linus Walleij , "Hawkins, Nick" , "Verdun, Jean-Marie" , Joel Stanley , OpenBMC Maillist , Daniel Lezcano , Thomas Gleixner , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:yLURDzudXHJMraciQUvSb24xVyKH/AGd/RIoLfkaAXFYNa8zyKr ANzRc35ssf7MP6LoeSMCaiaT1xD3fXRDapXXsLB0j/IPVwgmEpePP7LoF2sgPs1xtXNCCRx v/3+ZoLzYPtxZfi6tQAM6CzMnAGbvhAFYwz2hRH37/DOhE68igSWDsesDcW1TFbF7E7dPL+ Wjg1Av65AJCjrp7lovuQA== X-UI-Out-Filterresults: notjunk:1;V03:K0:a7nudyXYi74=:2uwlCm/+lN28AaDNq8ThKy lxCit7SLxjkUvnx4rrZBTn1wgG1gtF3Kn3fN6S/tsMAViderK8KeEBA7YMhPJxMJPoYSbReiE ZOVN11CMr2uSproi8QjnBIOkyIVwcD+p0gDcoSU629RsreCRHMkSX2lTpdyvSyOlU5YHyWtWo t5T5IdK7RvSgINqU5XRKs0VpNYh8g2feh/NVlf3Ouru8IVEmiklEYOaQefucv1lLzPRdghtoP a54JAwtXR/xyAkQOTaIK+xtBLUVJ14dhqGBkk2DtaI5YaBJ9+6R4TSsXM+7XUa4tr2O5pRRI4 XPPYSdEsWO+S4pGjsbrG32ZTUv1xbjGWLx57N42juentn/UquWJBzI/roCsPOhLx9bEoXDPYV YkFz3Ym62hK4spwtdxStWucXzCOAYiNyLCfQlsT/n+M6zPBIisY9j7SxW8USCRTDa2wZbh69h 7eO7fd/6n3RlBkHsnnKL7XFFeIh+WT4NQyvMPin6qNsRbpu5DZ/OnvPyFxI5YGFUCihEvKD/8 3Qw8pxbBqUDlzHxEx+7Oh+YwjS+eEEmki6Oz37QNbpacrn4BRn11N/2tXX1mHF/ldWl81vSNe kGbzHvVOtBjRpXJpgEbe6mjSSz7wRWPo3xtdImSEU/y9wFIZalCLw6kVRM0Gk97XctQczdgdX TQ3+a8EM46m/xgD3PvSPPOdBIt95KIzTVk1quJdkL2n0DahDKD+if+sUbiPYZ2BcktHEZm0gA HWw7as4dbiEcYrUkRR92wLEXZmLQ5pVMX/pUq5UOojErFxTYX6aOee5V9J86tegDEW4vAseo8 7ob4gkUL0MlJ5KEwYV7IJVwwnbD0Apb0KPXD10F+PxuuUEyO8I= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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, Apr 26, 2022 at 11:38 PM Rob Herring wrote: > On Tue, Apr 26, 2022 at 08:00:20AM +0200, Arnd Bergmann wrote: > > On Mon, Apr 25, 2022 at 10:38 PM Linus Walleij wrote: > > There are multiple ways of doing this that we already discussed > > in the thread. The easiest is probably to have a child node without > > custom registers in the DT and then use the DT helpers to > > populate the linux devices with the correct data. > > I think that's what the wdt binding is doing, but I don't like that. > Maybe it's not a child node, I can't tell. > > Bindings should not be decided on the *current* driver split on one > particular OS. This looks like 1 block, so 1 node. Fair enough. > If that doesn't work well or easy for Linux, then we should fix Linux. Doing a simple platform_device_create_pdata() should work fine here, the only problem that might exist is if the wdt driver needs access to DT properties, as we can't have both devices refer to the same of_node pointer, which would cause them to be picked up by the timer driver again. Arnd