Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4454448ioa; Wed, 27 Apr 2022 04:21:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza2BWxQ2lBWfyh4CbCWADA0h1+1UJWSOQFENrKFqv5XHmDfXeoj5qzmyO3v8UqotHVbnwb X-Received: by 2002:a17:90a:f405:b0:1da:2640:f171 with SMTP id ch5-20020a17090af40500b001da2640f171mr5099726pjb.245.1651058478858; Wed, 27 Apr 2022 04:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651058478; cv=none; d=google.com; s=arc-20160816; b=dfRucfHGGCvFf5hdKodGmYodV9Cf03hVzmgzoZQOHCp4L+LgSzsYBq11KRcptaySxU /NrB0hSVHBLgBXcdfkC5v/0nyoXIjtX1mRT0P1fgFx2+fXiIxjwN5WE9vUTs62Bayff5 I3r40i1qh2Y69/Z5cgG82FCNe3MyhCagp7hRzYBpUs9rL+h41JdF7lDDuW7Mh8M689Df FWeCDFDlffFLfu6NZRhczrgUjjQ2NuzvixGWxCe6tDloJsHu0klXNotComrtesiI66My SdPpid2xIZzflRfzyAH3VJlPKGKCu7h34YfWiYtyzrnU0y1mMSve8/WOPGKWFAt69H4s 1p1A== 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:dkim-signature; bh=f3y+x+jIoq4DGRlS1US0ASYjqXchO+3gcLp/ZetbNsg=; b=xzIcRmtDbsnKvi09DXaWQDdRWxAP9jhZWWpCm41Xp8QjqUfd/7yp0LM+Giha1WSKye LuZv1SE8KGj3ga3EEmlLt29H7bFNTLNPrW/2XXe6j2TQJ0C0XxZR9jUwHx1IhijzXEK4 BkQKZCuwkhBOmUmD21tBvuS3jFwlrvJQ6rx1EG56QFWcboR+kmLI/fSVOhSLJURkZbm4 heLbYqv6pgQ5rH7wa8Y0LgBwVeY/ISTuX9LZES5eNdUcsf+Sfw/irGhrem6BUz6Wt9S4 OWmyOwRzEBMdAjVX7PfiAy2yygTVWOX+RyxKK1a9DgUFP7cEeLkCVBrHPJwLiyDo6ahI m12A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Eoy/L9P/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b21-20020a056a000cd500b0050a95333298si1304031pfv.252.2022.04.27.04.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:21:18 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Eoy/L9P/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BF2B845FCC9; Wed, 27 Apr 2022 03:13:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355634AbiDZWIR (ORCPT + 99 others); Tue, 26 Apr 2022 18:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346480AbiDZWIO (ORCPT ); Tue, 26 Apr 2022 18:08:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A39E639D for ; Tue, 26 Apr 2022 15:05:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1504BB82377 for ; Tue, 26 Apr 2022 22:05:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADD6EC385AF for ; Tue, 26 Apr 2022 22:05:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651010702; bh=f3y+x+jIoq4DGRlS1US0ASYjqXchO+3gcLp/ZetbNsg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Eoy/L9P/NCGYqnIObNJpoaufykwjGFVGt0pIEzsGKqHwg0McwrnGwdJA2CuNXfb9O 64FnIgu20MVLggTs66O1QBN5aOh7A5jVcwc5zKwHNaIftS5r1y86BxdIFtBAlNP4mA inI6sw4//9kpwnSBKSrt5JLiBp7hOaff4czV7CCE5ojzHp1TPizKnoflwPp+zN+JZv /eS4sMJzNBynnIcCc+JBVtG85hboR5eLRxPD75ifbZ9R4aK8gAOO56yvrHsXEZLiNp 1Aw+hKNhjHW6K66xO4EtgsYBKf6R2sDr2MtFEEOKloop9ta7zqxnCAyYXJRYjEMRe/ X2i9mxxew5DqA== Received: by mail-pg1-f174.google.com with SMTP id v10so6057495pgl.11 for ; Tue, 26 Apr 2022 15:05:02 -0700 (PDT) X-Gm-Message-State: AOAM5300UgKJn/PSvl2sFlU5qjCCedCTjl8BZwRp1B28E+nQf8G5+XlZ fTG1KLRfghnkqiAo3WIxhzkgSVgKUZgQf2DCuQ== X-Received: by 2002:a05:6a00:10d0:b0:4f7:5af4:47b6 with SMTP id d16-20020a056a0010d000b004f75af447b6mr26353448pfu.6.1651010702163; Tue, 26 Apr 2022 15:05:02 -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: Rob Herring Date: Tue, 26 Apr 2022 17:04:50 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 04/11] clocksource/drivers: Add HPE GXP timer To: Arnd Bergmann Cc: 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-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE 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 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. > which would cause them to be picked up by the timer driver > again. Huh? That's not to say there might be some gotchas. The musb driver didn't like sharing. But those are issues we should fix rather than work-around in the binding. Rob