Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp843106ybt; Fri, 10 Jul 2020 13:59:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT1E4NO5MnNwg86FpBFEgXEsXX24MJjS5dlmr8o+9VFZn02finugZrBAOa58Yc3UOxdI09 X-Received: by 2002:a50:bb48:: with SMTP id y66mr73685360ede.147.1594414775799; Fri, 10 Jul 2020 13:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594414775; cv=none; d=google.com; s=arc-20160816; b=wA7NZoAsW6ABVLvUz8e1j/HvGBQeDs+ZPYyrDjWt19r2zQNZuUg/5W/2f9iVO/yC4A aBNh/byWHj4D+aRsQK7cmOfH5Dy0DBRnFUY3IhDKErSUuELGUGRbmtOH6PwXJo9RNCGt gL4QkYC5EG7dnZWwEafUF9kJG31RMCGJtUgYxHSOST8RaUBFpKI8/QGEre6H+qDCgnIg sH4AICrYE7Em3hbtb4/cYMoM2VZqQlPZGViw3X/4ruq4FuhcOtTufcO6wp+mAohcCC1N 1VZHOATFocoDU1LdAI756Tz9oFGe6VgOhc2YuIClvPH5ucfLYDDX+b+xJgBekjLultTy vDfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+ChON967gd6q1g8+xHNI98pF7gnQBySbrMWOpqQ8q80=; b=wO8bO0gNLbwuYg5faYjEmY9w7YXakUaoDnnkxr+d0Sw3KT4om2H+HbgUX+hVORbgxL 6A6vkgMZiEFmPYoIBUPNiVwwqldsHqw9ZdNVMPymBIhCdAfLs6Eah6J1Klx56ufhKQmL HEVJUcwMpbMRbZ+bejB6GQ6jCv++T+UshHRfG6ULzofJsJ88gVs7vmAhuANqYX7t0MRg gjmleekn5t+HDp9rfdH2kefH7gMTMirIyMpvUyJ/Lc3JhST3ojJSJodF+vW0O6PLolwU JXsfjUlCKTG68HPq5/HCVMGlOpak+BdrnOPClBUDDJoo8WkjyTtOfmMHJLbn225CNK9l Gn4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rejKsv4N; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si4214007ejk.642.2020.07.10.13.59.12; Fri, 10 Jul 2020 13:59:35 -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; dkim=pass header.i=@kernel.org header.s=default header.b=rejKsv4N; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbgGJU6q (ORCPT + 99 others); Fri, 10 Jul 2020 16:58:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:58896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbgGJU6q (ORCPT ); Fri, 10 Jul 2020 16:58:46 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9EE72068F; Fri, 10 Jul 2020 20:58:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594414726; bh=DkEEYZd7x1DcGSpdD+Xf3QuaQibE3kKCCy2A4ydlWow=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rejKsv4Nvwk9+NBkBAPS+Y6AIrBecUvHBSMnBroAzP4DsG8vL6RuAC1tnK62W86/A 0lSaFllPnc9Fc0HqGiib4V8Qji4KC/r+VSXyfuM6JmG8TgD5aKiFxEYTpAzFxuIm1t uW9Q94WE1iquh5xkk5g4lZs4aZs1gpnxJNNJ7qXE= Date: Fri, 10 Jul 2020 13:58:44 -0700 From: Jakub Kicinski To: Cc: , , Subject: Re: [PATCH net-next] ptp: add debugfs support for IDT family of timing devices Message-ID: <20200710135844.58d76d44@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1594395685-25199-1-git-send-email-min.li.xe@renesas.com> References: <1594395685-25199-1-git-send-email-min.li.xe@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Jul 2020 11:41:25 -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. cmd is write only and will accept certain commands. > Currently, the accepted commands are combomode to set comobo mode and write > to write up to 4 registers. > > Signed-off-by: Min Li No private configuration interfaces in debugfs, please. If what you're exposing is a useful feature it deserves a proper uAPI interface.