Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 913EDC64ED6 for ; Tue, 28 Feb 2023 06:58:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbjB1G6m (ORCPT ); Tue, 28 Feb 2023 01:58:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbjB1G6c (ORCPT ); Tue, 28 Feb 2023 01:58:32 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF8B883ED; Mon, 27 Feb 2023 22:58:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677567506; x=1709103506; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=B9y8b6VOGAgZmhcCzXb/p9gXQak0qJFRrYNMZF8AG6M=; b=f4Hm9nbuNeAaYjf49EGRXKNo729Ey699dWR/rjGFNIfrWvkySzeCET1q 9c1Gc4jmR5ba9JmYp79LYI07lFWWwRy1zeV06iCbYrKNddZpCZEexA1gx uqoltCZjxv1slllNJUfhn3aUNbEMUp40o5fDQ4JE4BNqgpekhyEgpRPuL IjUBSjIVJLK07LbrGaI6pwb+I69v3JZyn9rNgFewSr9TeUFJtIRG7a1rH x94lfraIXMQjHe/6doW44Opxa+DZKHFqE+nUEboXOTmm4avRYYP0fXvOW FJYfLbPfWX3KGlBBAb9WO0gRkUUyqk1Rt9i5T9lZg+k/arWAB4izMHoSD w==; X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="335551143" X-IronPort-AV: E=Sophos;i="5.98,221,1673942400"; d="scan'208";a="335551143" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 22:56:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="797969247" X-IronPort-AV: E=Sophos;i="5.98,221,1673942400"; d="scan'208";a="797969247" Received: from ye-nuc7i7dnhe.sh.intel.com ([10.239.154.52]) by orsmga004.jf.intel.com with ESMTP; 27 Feb 2023 22:56:42 -0800 From: Ye Xiang To: Lee Jones , Wolfram Sang , Tyrone Ting , Mark Brown , Linus Walleij , Bartosz Golaszewski , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-gpio@vger.kernel.org Cc: srinivas.pandruvada@intel.com, heikki.krogerus@linux.intel.com, andriy.shevchenko@linux.intel.com, sakari.ailus@linux.intel.com, zhifeng.wang@intel.com, wentong.wu@intel.com, lixu.zhang@intel.com, Ye Xiang Subject: [PATCH v3 5/5] Documentation: Add ABI doc for attributes of LJCA device Date: Tue, 28 Feb 2023 14:56:18 +0800 Message-Id: <20230228065618.2686550-6-xiang.ye@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228065618.2686550-1-xiang.ye@intel.com> References: <20230228065618.2686550-1-xiang.ye@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add sysfs attributes Documentation entries for LJCA device Signed-off-by: Ye Xiang --- .../ABI/testing/sysfs-bus-usb-devices-ljca | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-usb-devices-ljca diff --git a/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca b/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca new file mode 100644 index 000000000000..43b95effdefc --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca @@ -0,0 +1,22 @@ +What: /sys/bus/usb/.../version +Date: July 2023 +KernelVersion: 6.4 +Contact: Ye Xiang +Description: + Provides the current firmware version of LJCA device. + The format is Major.Minor.Patch.Build, where + Major, Minor, Patch, and Build are decimal numbers. + For example: 1.0.0.256 + +What: /sys/bus/usb/.../cmd +Date: July 2023 +KernelVersion: 6.4 +Contact: Ye Xiang +Description: + Commands supported by LJCA device. + When read, it will return valid commands. + When write with a command, it will execute the command. + Valid commands are [dfu, debug] + dfu: Echo dfu to this file so as to put the device into + DFU mode so the firmware can be updated. + debug: Enable debug logging. -- 2.34.1