Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp62971pxu; Tue, 15 Dec 2020 16:12:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFi0hCO2828+6G0XU4Eq7V46+7D/A9458mF3hjnujGZvcjL5rmnW75LNwz8CHS4sHzW6iK X-Received: by 2002:a17:906:2798:: with SMTP id j24mr9080219ejc.328.1608077532640; Tue, 15 Dec 2020 16:12:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608077532; cv=none; d=google.com; s=arc-20160816; b=keGNW6NenLs9vaBPBzPAb7Q5byxCdpXHJjtO/8zhixkMncMrnM3s1UFs1ya94N4Zo7 2RZ8rztCUJRo9YWOOsRzaWsI0dcqR35b6nAiiq3+um9YdwT2n5LsGDmb0qJNqa+Plx2k DJoI9mDZkM+7FbKivMw7ViIH8BovMgYGjYXr8upS6GlBPQ6C7jc6RQoyjZis/0JuOg1u yjzw5Q+GAFRxvt+0teQSgVmutZGPLdDxw5aP+thqmSzKr1jQxKLgLcEhOFi1JFcWSDkJ FKrlOjKXzZy7T8DUAqFzCII0z7LJyCM29nCxuf1gADyKNKcTLIni0vMnrTcVaEcEszfz XgAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=UA9lHOsQsRrkKAcdZ8/uAX/YO+6TM8c289Nn7aSmqEg=; b=bKAtaGAXH/b0GyYQ4a3Bpfr0iBkOScrp2eJyoZdjiUITvhZanmbjA6llsKA2AvDXKX w8uEjK3JIUtQCPI9Q04E8IaATuJZpnW7lnV2zNcCBQmXdn4qVzXFS5HBRrLh/Opv2y5d vyPuU4taPV0XutDIRZMAZqILpN/Oq5qNJNla53iWJF63Q8fG0fJ7IQbbKMjTKfKvf+3+ UhwebLbL7rC80OOaD39qCRt+2nBDf4U3EmpN0xCt70wXhkNo5FAFYHHdQQB4gvylV0nl Fj/njazI13jE3ZMR0ykMPanJA4RfQ6H4g6CHQX4f/EptTX9G62hLTwVG20Z8aLQIGkyb MP/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VOGv5uDH; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si1598712edq.447.2020.12.15.16.11.48; Tue, 15 Dec 2020 16:12:12 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=VOGv5uDH; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726852AbgLPAAW (ORCPT + 99 others); Tue, 15 Dec 2020 19:00:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731224AbgLOXGO (ORCPT ); Tue, 15 Dec 2020 18:06:14 -0500 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E51CC06179C; Tue, 15 Dec 2020 15:05:34 -0800 (PST) Received: by mail-ej1-x641.google.com with SMTP id q22so12314705eja.2; Tue, 15 Dec 2020 15:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UA9lHOsQsRrkKAcdZ8/uAX/YO+6TM8c289Nn7aSmqEg=; b=VOGv5uDHRJKxSSjAac0HWnwkGX0jib/wf6oafOg+aJl30V/K7X9QDWUA1bxRlEA9Va qbVSJOgBBHSHTN1eF5lYj86uI5WQvED3wEuXhjGYaVJk8BbiGbsHZnbg4rLy0xaCroeQ ZY40B+2sj/XRoYKTNJTO7dY4imH83uaXibnj62Vh+mT4L71s75Lrfl6FIy6tOwEQrK5k Xumcsui8Dc0JA4diHUaDLZXDWcBXTkHX6fAj2eT5vQVTcTBa/ouwB1jxnWyrox7FnRmu Rubptq1Yao+4Qwj7XFfvgwGGI7+cuHXfagoIkrBMxacKgzN5f6hvDoE70fPtu3KpZ8dJ mcmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UA9lHOsQsRrkKAcdZ8/uAX/YO+6TM8c289Nn7aSmqEg=; b=B95kH1j6oJaGPGi5yEpD3hUZCJwkzTNkYFvkBAuhAono9l6rDnBngsyK0Aa+VTKdKk sH5um5KTW/gGYv7cDMP9v5gIIl5WKVUctPnhU9xnaC7j1hJ2R5K/iluZOf6w35G+BhNP krH3eBybD6bYTWWcmKxR0nQI610KioFMOVpXx2ciDlq786T5GNMbED7C9qMm9jV41W5C sqXYCO97ZxX3/8cSzNB2yy39xKlZLTiBUc0kQslEEaUzmiU4PDpZdP9ASoB7JOulV4FF oemcbT2ks9XEDZ64x34I+vXwaRxq+TWvMBmoFY322E6D+oQimJzLEfGKMAxVfUAuuExn Ir4w== X-Gm-Message-State: AOAM5301XTD8nm5pr6pf+AApRGRWqCVyoT+bqWOGH2DIwJQmiWI99119 lYlTVywo4ZBdAF7/x2yVfcs= X-Received: by 2002:a17:906:cd14:: with SMTP id oz20mr26773171ejb.99.1608073532980; Tue, 15 Dec 2020 15:05:32 -0800 (PST) Received: from localhost.localdomain (ip5f5bfce9.dynamic.kabel-deutschland.de. [95.91.252.233]) by smtp.gmail.com with ESMTPSA id e11sm19280455edj.44.2020.12.15.15.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 15:05:32 -0800 (PST) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/7] docs: ABI: Add wb_on documentation for UFS sysfs Date: Wed, 16 Dec 2020 00:05:14 +0100 Message-Id: <20201215230519.15158-3-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201215230519.15158-1-huobean@gmail.com> References: <20201215230519.15158-1-huobean@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Adds UFS sysfs documentation for new entry wb_on. Signed-off-by: Bean Huo --- Documentation/ABI/testing/sysfs-driver-ufs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysfs-driver-ufs index d1a352194d2e..5a70d541b2f2 100644 --- a/Documentation/ABI/testing/sysfs-driver-ufs +++ b/Documentation/ABI/testing/sysfs-driver-ufs @@ -1019,3 +1019,11 @@ Contact: Asutosh Das Description: This entry shows the configured size of WriteBooster buffer. 0400h corresponds to 4GB. The file is read only. + +What: /sys/bus/platform/drivers/ufshcd/*/wb_on +Date: December 2020 +Contact: Bean Huo +Description: This sets or displays whether UFS WriteBooster is enabled. Echo + 0 into this file to disable UFS WriteBooster or 1 to enable it. Note, + this is only allowed for the platform doesen't support + UFSHCD_CAP_CLK_SCALING. -- 2.17.1