Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1522755ybt; Sat, 11 Jul 2020 13:01:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb9JCZ3e/nXDb0/LvoJPQDYdYKVpn8XGwTjtstHm33yjEAMeBTRN+ZdsppKIai3n6HMT0w X-Received: by 2002:a17:906:1151:: with SMTP id i17mr70385152eja.535.1594497706802; Sat, 11 Jul 2020 13:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594497706; cv=none; d=google.com; s=arc-20160816; b=brNwnviFkV5anNs5cPLe/IdWkY3n2jyJNBFEl6R4mKb5fE+65d4fcyyY7h5FzeopFC EO1t9MTe2uQmeyQ6OfJELfyXs8WBEtNs26qATPxrLpZJ2YqK/66r8108XE2kLKybyDNe q/KHCBhtf1TN0BCBf07a6ORMLwG4GP2orGcofNswn6Z1iCBc8ysGRb4emlM+dyfAFUOO +qur/NdGS4vSqHTBFFtnOMwsW9lXE+JPUxKOZO9PDguBoswdYhkozf7tglvVQkByO+X6 D9flOkVwYC3jaTyH8gYSKxpNU9kV3aAHP2qxfQz9cozaF77VlzQ0I/PG3hYndxTbt5ng w2ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=07pVOl5pYcvXvt7IjRMFDxAdstfMqO6z71+IshoQ0R8=; b=gOu4X8dYkZrVsa7EigO8sWPmFAoCgGLa+JZe1oUmjzySaxjOXqbjWRljlt8CGlBRJR wweodIfhRUIK+kS35EWVovkKMvQsqgOdu5UxLStDP69WuMKHU2BDFr4IoO0ogxl3sQtJ 0FOyNEcGSw9mpfHi6likbA0PxLZCimhAQR4SDrAuzrHZhJpHfDMf7wjLmXAaJZ7axgyM UiCfw1PWs3O1CRlegYw/WT7oSDpp8I/8uJhB3lHF65t6obMUh3jAyx9GGj4J4sLwOozK 1uhLWiO10mDv5WV6ypfbzIyr22dj+lRMQPscHK+5Ehah9qB71AlgJVPFQsSnJjRQtD+A nepw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si3798813ejf.312.2020.07.11.13.01.22; Sat, 11 Jul 2020 13:01:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727110AbgGKUBP (ORCPT + 99 others); Sat, 11 Jul 2020 16:01:15 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:58784 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbgGKUBP (ORCPT ); Sat, 11 Jul 2020 16:01:15 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1juLgN-004ebr-Dy; Sat, 11 Jul 2020 22:01:11 +0200 Date: Sat, 11 Jul 2020 22:01:11 +0200 From: Andrew Lunn To: min.li.xe@renesas.com Cc: richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] ptp: add debugfs support for IDT family of timing devices Message-ID: <20200711200111.GU1014141@lunn.ch> References: <1594395685-25199-1-git-send-email-min.li.xe@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1594395685-25199-1-git-send-email-min.li.xe@renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 10, 2020 at 11:41:25AM -0400, min.li.xe@renesas.com wrote: > From: Min Li > > This patch is to add debugfs support for ptp_clockmatrix and ptp_idt82p33. > It will create a debugfs directory called idtptp{x} and x is the ptp index. > Three inerfaces are present, which are cmd, help and regs. help is read > only and will display a brief help message. regs is read only amd will show > all register values. You can get register dumps for free in debugfs if you use regmap. And i2c devices are well supported by regmap. Andrew