From patchwork Sun Feb 19 18:30:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ye Xiang X-Patchwork-Id: 656696 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 91B32C6379F for ; Sun, 19 Feb 2023 18:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230399AbjBSScH (ORCPT ); Sun, 19 Feb 2023 13:32:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbjBSScG (ORCPT ); Sun, 19 Feb 2023 13:32:06 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B12C7144AA; Sun, 19 Feb 2023 10:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676831499; x=1708367499; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MuDWHktXuMQtl9tyba8PkydXGCwKdCqnQHi2l1LrgwM=; b=Wr8VR3jlpxxDKpGYeoPOKHd4fkhh3LgwGt9UIshndFJrqY/z/Nm1O66B URU6W5g/n62/r51qvYfv7Hb87YJ8eb5IP03kfaY2APuWqQkpHorp/uqi4 YvvNkYoWCTWuGgjMJu6BAYK9H/DDItloQz6S33hcijmovvefTB28U6iU+ tkeg6ssJs3Bej0utKk8eK1T4YOCZjHXAz4oFV3m8Pr7fnVBQJcTH66eKX R+rCqukPVaVs9DseXNBfydZAiPdy4OtETBZn6SOoJNS6mrJZ+gf8a+Whu 2uAOvGz8m9P2fb1SfMtlg6bYYbeZCo7d2Fs6T1wB5HDBknpICyUxFIbXW Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10626"; a="333634482" X-IronPort-AV: E=Sophos;i="5.97,310,1669104000"; d="scan'208";a="333634482" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2023 10:31:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10626"; a="845107206" X-IronPort-AV: E=Sophos;i="5.97,310,1669104000"; d="scan'208";a="845107206" Received: from ye-nuc7i7dnhe.sh.intel.com ([10.239.154.52]) by orsmga005.jf.intel.com with ESMTP; 19 Feb 2023 10:31:35 -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 5/5] Documentation: Add ABI doc for attributes of LJCA device Date: Mon, 20 Feb 2023 02:30:59 +0800 Message-Id: <20230219183059.1029525-6-xiang.ye@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230219183059.1029525-1-xiang.ye@intel.com> References: <20230219183059.1029525-1-xiang.ye@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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..ae270c02b66c --- /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, reset, debug] + dfu: Force LJCA device to enter DFU mode. + reset: Trigger soft reset for LJCA device. + debug: Enable debug logging.