Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3543003ybf; Tue, 3 Mar 2020 07:50:56 -0800 (PST) X-Google-Smtp-Source: ADFU+vsg9A+5njYbMSXqsY4HKq1fiiqYxfvSlgyW4kECQxOijlXBn8bwarNT+YsCpBSVeCiPwkwq X-Received: by 2002:a05:6808:14b:: with SMTP id h11mr2829689oie.118.1583250655920; Tue, 03 Mar 2020 07:50:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583250655; cv=none; d=google.com; s=arc-20160816; b=Uss+AAepxJ75j9Dl81eKv4Bz68Uyt9Oot2mZnFth/KB2jlIRZxNnryngcnoh33hFqN c1W+XEXeNvSvMgyMnnyA+nfmWx7rCAotsCqKH0c1mIrMwNR+dNKcQBGJg2DfqXj/1z7l Xuh8/luJyRxVGSkmYiMp1FNgmSDXjUnfaGHIh8CYpM5oBFVDA34vJKvAvkQBDicQmpKc XJrDf4ufnuylXmL6MSb+iORocjjrvFGppzBuoOYYfdoeA9hFFhw7au43wQs6ZNChgOK2 l2p2diA4zv0o1UNhqJvShU08VNl855ONqQi87fTSyDncWbjwN+Go0T1MRbBjftKwVRM9 z1Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4uMBpBOIqm/0ynEGtQaKGFxamPX39BjBfVI0h30VeRw=; b=WKdI49fd/6MfIskqgs/zwzlH1Y7tUmecDc8jkbp82LxwRHa9yjraBc2prqwfTxF5bU yKN1DuDh8GHHpFCiIuWoS1qjrGPFrxpkCIr21bRE1eWwr9v0nvh3l7M99ffvYZiHV7AB YgrTYDDb2MC4JDz2UMyk3kfXk1xxjc3u8mhsAj2r98k+oYU/jE6cOqXrRsXf25sn4CTi 0rA3H/e5fhiY8BgVdeHXkirXcKmtJyGw990KdRCHXNwmyu8T/k/JCQKewwuRcCHyfux0 C7rNi3tEA7WLNBdarPabXBJZp2wUoE3MDpLg/vBeHsImE5AW1o97BoRa47IuWgmpJ3Hu hg4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lkQFBtFY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id g23si4138963otr.31.2020.03.03.07.50.41; Tue, 03 Mar 2020 07:50:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lkQFBtFY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729871AbgCCPXV (ORCPT + 99 others); Tue, 3 Mar 2020 10:23:21 -0500 Received: from mail-pg1-f179.google.com ([209.85.215.179]:41070 "EHLO mail-pg1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727070AbgCCPXV (ORCPT ); Tue, 3 Mar 2020 10:23:21 -0500 Received: by mail-pg1-f179.google.com with SMTP id b1so1676045pgm.8; Tue, 03 Mar 2020 07:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4uMBpBOIqm/0ynEGtQaKGFxamPX39BjBfVI0h30VeRw=; b=lkQFBtFY5SssVVeURD1b+Ig/VAaDBsj0Uon3Dc7y1oG1ZR44CH94pHe5BO2M905iPx Yr5vf/kJ9rO+zv1cubjBfMmGjCzhvVyuDl3yBJLeXc0IEUHyHOY+XYCYolUX77AnT0Bz QOTVu8meED63CJQsVjL4Lw2q7JRfLPlCn9NALSq7Tnxg1r7v2KSY6KXwdUaq3Von/e/w zKukd0NWkRpWsCZt2+B0/zZYm//tAZX6kZRWK90xtGczsXK7vR9NAJHlRG12T4+le02B u1DFFEvfrhng8x5L8D2sTHRKBbqDzkdY4NGd79kAgvs+7czuO/0VyW+HlHfCjYdEnYmP 7vwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4uMBpBOIqm/0ynEGtQaKGFxamPX39BjBfVI0h30VeRw=; b=hA12Qm+DxxRTeVF8oIkS4/URwvfx1HU8Lcx6Nyg4bSqqP9HKw3LJ2TJub4MNWaKpgf dMC/kq3EET3ING9hZ+Is5DOJIqG0fjc+bMXMzOVfB4KuylzVcTZfcFMKnyzx/JeHuf7Y gnwyzOC/WFHmeGmcSnHn/i3QzJR6enblpFdmc5c10s9U9Iz6YHfj6SrLwrQenAi0+KPB QnFpEJqCXrRGgAXUxWFcOV3GkPATGaqbqX7hB7Sc0Vn8RLsbEZ4+27KmdCgouWnDcQR4 RYa7bwQhUy4maU4D0zLMdWn0fF8mz33XkH2QxwdfgYb7sLYPvdZ+OWdEu3ELR4v6ql5Y yiqg== X-Gm-Message-State: ANhLgQ0TnGrCw7zRPX5VCcy3p7YZmfZWDpvvIcpd8bQcPoGOlRx6HRO4 FR2evMah+0dcL9xSCRGfzI4= X-Received: by 2002:a63:3d48:: with SMTP id k69mr4368726pga.395.1583249000145; Tue, 03 Mar 2020 07:23:20 -0800 (PST) Received: from localhost (c-73-241-114-122.hsd1.ca.comcast.net. [73.241.114.122]) by smtp.gmail.com with ESMTPSA id h65sm2827515pfg.12.2020.03.03.07.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2020 07:23:19 -0800 (PST) Date: Tue, 3 Mar 2020 07:23:17 -0800 From: Richard Cochran To: Linus Walleij Cc: Thomas Gleixner , Bartosz Golaszewski , Jonathan Cameron , "Christopher S. Hall" , netdev , "linux-kernel@vger.kernel.org" , "H. Peter Anvin" , Ingo Molnar , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , jacob.e.keller@intel.com, "David S. Miller" , Sean V Kelley Subject: Re: [Intel PMC TGPIO Driver 0/5] Add support for Intel PMC Time GPIO Driver with PHC interface changes to support additional H/W Features Message-ID: <20200303152317.GA7971@localhost> References: <20191211214852.26317-1-christopher.s.hall@intel.com> <87eevf4hnq.fsf@nanos.tec.linutronix.de> <20200224224059.GC1508@skl-build> <87mu95ne3q.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 03, 2020 at 02:00:48PM +0100, Linus Walleij wrote: > > That looks like something I/we would want to support all the way > to userspace so people can do their funny industrial stuff in some > standard manner. ... > HW timestamps would be something more elaborate and > nice CLOCK_HW_SPECIFIC or so. Some of the IIO sensors also > have that, we just don't expose it as of now. It is worth considering whether it makes sense to somehow unify gpio, iio, and the phc pin subsystems. In my view, a big chunk of work would be to have something like the "clock tree" for gpios and clock lines. This tree would describe the HW connectivity between (at least) MAC/PHY clocks and IOs, gpio controllers, audio/video codecs, and so on. Also, there is that comedi thing in staging. If it has a chance ever to leave staging, then I think it would also benefit from integration into gpio/iio world. Thanks, Richard