Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4408287ioa; Wed, 27 Apr 2022 03:15:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVuW0dS4Uzg5YMF7EuHAc21b8pinYH1oJiBKrE7Ivu26ETxEjIpVDZB8ungoxUPmHTOlcX X-Received: by 2002:a63:91ca:0:b0:3ab:600:6cab with SMTP id l193-20020a6391ca000000b003ab06006cabmr16788029pge.216.1651054506981; Wed, 27 Apr 2022 03:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651054506; cv=none; d=google.com; s=arc-20160816; b=07t86Blz5KUBPtq4LjcgZarutPodm46KlBl/6w8JSBFuRHjlvROeIGLBDhjDKtiBuq cmq7en9/is8aKH1MaVkGhGIHQqsqxZ4GYdjt+/Nw/bmUK63/4SLi+s4OtnI3eG6xAfxs 2LkVZ7RPDpmykCBLik+tdqs19sZoHT7BdBqfoZFVfGydUQkPYvnGlJ0b+TgSRSISGrB5 xy6NbL3JoDAc7X9qHsJE9FdQ9z8TxrCn+zEZZYv4bpvMd9lfpos7SArKSz3x2CzapOLS H48umsqDnuHr56I4/3FMcyLa7cJVTq09BZHHHiK3WyCW4Vou4eWavnsydJnDpNwSrqmw u/CA== 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=n6wrVaTkrgMeo4fbbNtNK20RTvmh+5dkK2l775djiF0=; b=JLnyxKEYRUl3A94wCFCcM5IqYas/3GNZv7GNVYJagpxh48WjM0Xof2O3HKvy9KijJk y+8sI7rZaIBZQCVqC0dDY5HM52nF8agSLenIOezcZlqq+ZRQlxWnC0/Oqt7as5+MFee7 ojuMGET4gzPBguAtELT3h+tTUqyaGWVxZl0IFsa5VejeiItzV9yeI4tx+waK86/mOvSz pujGuj48sNBvhsc6alK3MSMffRLQsuiMoWVPOYF9OUXx5YseT4NQC779GdT5cwlwAZqp 4di+yyV51uEwyO+L70tkJRcafkbWo5ShvZSMph1x9Aya5VPlBID4cUQk8PS1LE4aamMa eSGQ== 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r16-20020aa79890000000b004fb806eb0e6si922418pfl.80.2022.04.27.03.15.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:15:06 -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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 06A0426BCD7; Wed, 27 Apr 2022 02:36:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355840AbiDZW35 (ORCPT + 99 others); Tue, 26 Apr 2022 18:29:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355813AbiDZW34 (ORCPT ); Tue, 26 Apr 2022 18:29:56 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 475777DE11 for ; Tue, 26 Apr 2022 15:26:47 -0700 (PDT) Received: from mail-yw1-f177.google.com ([209.85.128.177]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MXXdn-1nN66M1Ct5-00YyZH for ; Wed, 27 Apr 2022 00:26:45 +0200 Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-2ef5380669cso198016107b3.9 for ; Tue, 26 Apr 2022 15:26:45 -0700 (PDT) X-Gm-Message-State: AOAM532DDSvd+pArRptjLpf+1PWfhxKZcxEk/EYnli7N/6GP2Z/vOw6V qGxok+MjMOWuWvQ98bzsBkJaLid4tPFIeVCUdkk= X-Received: by 2002:a81:2305:0:b0:2f7:dadb:2162 with SMTP id j5-20020a812305000000b002f7dadb2162mr13216162ywj.42.1651012004174; Tue, 26 Apr 2022 15:26:44 -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: Wed, 27 Apr 2022 00:26:28 +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:rUf6Z4Z/hx/hOzQin44sweuaJ/d4jnBc6uCunziubD4b3wkJ2bj RaCfD7y1YF/BsjrpNi224FhtS6EuYslcHcexoj7ThaG1WdW4nvvFTBvSq+hdv7jxhZPqV9b FUBvMHYegddMxhSpdsz4fSknFb2QOAMzBWG4DPrFXDM+tx62k8ZsCN6HlglD9Mw7/jFqXyk XvcZtkv3I8pO3Ne0hfUyg== X-UI-Out-Filterresults: notjunk:1;V03:K0:hXiK/uJ26P8=:VY+GRjYmbta64TGdOj8zuo CyBiUW+KxB/Fi2vldtyHITECw4NLaqxuJJTwQTb0VBwVhMFZcc0ANRw3wcXMCtcZSdm3+Qf3C ii/i4U3QaOfFZ53Spamn2A7yX1y1Z52ftRLBMzrsHqfczV3ZY4nK/JN9d+n+rkdYoy15lClV1 yVpnS1PS3MUnuQXRt2J4urJB0/2txfIlT4RdCQhAXUk2y8y666fECUST5qv/jUvu/UGT+Y7Gd 3Lb42XuaZ+l5vX9exHYdDKI1EimYgk+hDiXoyapbWDB65YHV5Wj3aGG5fN7woXDZAh5Ng4Hrv ZTuS10ntjDJjTTxwLRanrk4yVV9QARubrFvcCxwUq3x0jWoQLQqUo6nLcHbuncAcSE02VigBZ yiTFYw1wwVEr7LVMUxuJMMA+xZKKjgWn4BPzUS43GVOPxNBsaRtN8KI7LEVZOxs6vUJTAaAhB ZJuElLfkDQgxo5Lzttt64gc5JZZLIZ1AqdsU880MEFLlq6+RoEgAUOXgYaoDpxX2b/BnqHjAl 5ws3+Mx5432Yfp6aTvh+ss+rd28OWKQkiHjM+uqQ2gzBMMhX3IQE2lzvfjUIraP3eBYoQl7Hx uDqxRLVunLfOqiIr5hI4rfij9TH8GUzlOMfSWJei9YLoslEl5Xj5uLyZF2ueg22QfFUBpwz4b 3ui8W/MLZ2jb2eNf1rKV8hkuipWbhspfOPsKcPbijoM0HH69pQg8V8Xd0fvkk1vAfVExIyrEX MK0vL4QJ79iLpBW9G1xJNJ3dLLPOtOMX6Sgjol/sRfnfYTXaoUL11n/J8+Ym9NoXL+ZAhAueF vm4kkcgSLKfPLZIZE3Jpkf/Bh0RGpuOQS5Zlcyatpt+vdzA7qU= 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 Wed, Apr 27, 2022 at 12:04 AM Rob Herring wrote: > > On Tue, Apr 26, 2022 at 4:55 PM Arnd Bergmann wrote: > > > > 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, > > Why not? There's even a struct device flag for that. Ah, I forgot about ->of_node_reused, that should work then if it needs access to properties. Arnd