Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp666961rwl; Sat, 25 Mar 2023 08:49:47 -0700 (PDT) X-Google-Smtp-Source: AKy350a7kjQz7in40fRI8556LTl/HIkBmygPZ31p2M1h9Ei86YQldf3wEit6J794uyhaHVpJiCos X-Received: by 2002:a05:6a20:8c05:b0:de:808e:8f3d with SMTP id j5-20020a056a208c0500b000de808e8f3dmr4940064pzh.13.1679759387363; Sat, 25 Mar 2023 08:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679759387; cv=none; d=google.com; s=arc-20160816; b=0WA4DLVy/tW/NHscvpX6ZXOtWGnqPXuqrH3pezmCsytgHbNIEhszkfURvQ2eSyVjdg OcecrspdYvtyl8Iv01CpPSRoBoZo9KJWEnBFDYgQ/4fgLablhPnPwU7UsIFpl0HuDFE/ xoLZCOTFo1v/YIJWM0plO0K8H8W7yv430tz9dYnD+UwNMUFEGyHgaop6D4O4QatbjR1Y qy+M9wevyX+ESgAOgCmR9FjJFcctwPc99qiaJmd5fvDKUsLptRxk3NQJN3pdjZ7Al8IV VMhVMdW2zuV8JLMF5I84MgtBX8JYDimnUiJtGDwhM1YqA0FcZiYBY/ndnK7zHUlk+WlD dixA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FhGDrm9YE+DGXvzlrwgx18BLDxzhgRaVG+QCaueBLHU=; b=VIBMH2x1erYgEsSuDmZhzL8tVD+gBDFaHBN/gQ7Co4QfrIwdkqLVCTBDaECPwKWgAN tlD1DUBVbbqYeBDFSLo/x2waOPRrU0U2DlWKyLjNrTIps8ZeJ5oDu9nrUXRzzshzM44d DA8/PPrR1iOtnZ3bfw9BkJEYpmgEI+OdeHsWyoS1FF1cQxntgLldvwowHYQXLNJKnj9O zUmrsbvvrmppzN7ZzK8/c4uisP5iIRtdTJIf7iI7yCfwf+q1fdY3uM1MHZDvmNb4rF9D 2dQXcuOLbdxBEe/zb9+4JuELBreD9SYoYmVm1Ei+hkyks5AOJYihIFRxPbsW0ja7DxfP pwUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eiAlRwXv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fc12-20020a056a002e0c00b005a8b3c6b5c1si24196545pfb.245.2023.03.25.08.49.35; Sat, 25 Mar 2023 08:49:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eiAlRwXv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231782AbjCYPtC (ORCPT + 99 others); Sat, 25 Mar 2023 11:49:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231642AbjCYPst (ORCPT ); Sat, 25 Mar 2023 11:48:49 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DD29126ED; Sat, 25 Mar 2023 08:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679759310; x=1711295310; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JOjP3peX0ZEQlt5bUy6rekVF3QLzY7oGXCu8avzeStM=; b=eiAlRwXvNOxrQL0jeR/Vyvvf2rf0c2WDKuIG/4y7J+ur78MTeXA6+5kZ SluWFfVsYiSJoVyzXv7phQ6tSkINMjhK6He3/y2QUa0TmGBp8LZnGxT6/ naM4kLMY8JYKrdroGYGgCxAJE17IcDQkbYejIYzYeaHowoDxtoLI6ihUi ZmEuMfy62e7KTTw8RgEyJ0cHAUgoo2dXpFsmtAvdUhAPhgx/eUU0fK/ep x1xZwTe+udLLJOaQJiSkg5J506/+frNzpqVlp2uqrQzvmkfYEgdPAyXej JLUASG9GzfHnRKXnv/GT6fTn37OIvsuQL0wqP5bNM7VIgRivWywFUfejb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10660"; a="341558914" X-IronPort-AV: E=Sophos;i="5.98,290,1673942400"; d="scan'208";a="341558914" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2023 08:48:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10660"; a="793794012" X-IronPort-AV: E=Sophos;i="5.98,290,1673942400"; d="scan'208";a="793794012" Received: from ye-nuc7i7dnhe.sh.intel.com ([10.239.154.52]) by fmsmga002.fm.intel.com with ESMTP; 25 Mar 2023 08:48:14 -0700 From: Ye Xiang To: Greg Kroah-Hartman , Arnd Bergmann , Matthias Kaehlcke , Lee Jones , Wolfram Sang , Tyrone Ting , Mark Brown , Linus Walleij , Bartosz Golaszewski , linux-usb@vger.kernel.org, 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 v7 3/6] Documentation: Add ABI doc for attributes of LJCA device Date: Sat, 25 Mar 2023 23:47:08 +0800 Message-Id: <20230325154711.2419569-4-xiang.ye@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230325154711.2419569-1-xiang.ye@intel.com> References: <20230325154711.2419569-1-xiang.ye@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 | 36 +++++++++++++++++++ 1 file changed, 36 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..16eecaf870e2 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca @@ -0,0 +1,36 @@ +What: /sys/bus/usb/.../ljca_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/.../ljca_enable_dfu +Date: July 2023 +KernelVersion: 6.4 +Contact: Ye Xiang +Description: + Writing 1 to this file to force the LJCA device into DFU + mode so the firmware can be updated. After firmware + updating has been done, the device will back to normal + working mode. + +What: /sys/bus/usb/.../ljca_trace_level +Date: July 2023 +KernelVersion: 6.4 +Contact: Ye Xiang +Description: + Writing N to this file to set firmware log level of LJCA + device. The log can be printed to another computer through + UART ports in LJCA device. Valid values: + + == ========== + 0 LEVEL_ERROR + 1 LEVEL_WARNING + 2 LEVEL_INFO + 3 LEVEL_DEBUG + 4 LEVEL_OFF + == ========== -- 2.34.1