Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3165479pxk; Tue, 15 Sep 2020 11:44:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzxIbuQ+pk1/WGsMcXOO2dCEbL56PoVssHZxE9gXX0cG4R79MwoU2G/mn1hihQuvGvo+oj X-Received: by 2002:a17:906:4c8b:: with SMTP id q11mr20536477eju.531.1600195449228; Tue, 15 Sep 2020 11:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600195449; cv=none; d=google.com; s=arc-20160816; b=038UmbGsEO1u50zRogOQ9YHFnJLztrxEhn7gY7+CsIDJaECr9Fm8lVQ1/Te578dLpI CE6y6VLggIvOoWmySSHO1a2w+SZ2s9Outn9u01wck6FLiRFpU/5n/3cGak0I70m17/s1 fw+R0brxA3OZmuK78EC/YDZQ1sgnWwj/QoVb4Gp/dNRZkDmJsv5r2Lbbj0nRjH7l4XgB 1y4oxCdAMIPG3hWxKLuXsrobJlWNM/9RHiF8uQ02oXEQTA+fBNTK9pEvFqrLOSV9O063 QQrRAEetUQmJMQMPrLPkBgFJAfIHeuWuK4Ik9SvquTRB9hSVjHtYZjAZWGYpmjlAXE6A 7mDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=2sltQ7OKUQCVV9G6bV9rSI99zwdlgVY44oFadVRn2CI=; b=OTBJ0YjFMi0cdYaRm0Kr3jQEema8zdM85zTaFbHWVLFD7GCYgMguVjEjPwkC+OUmnN oHfiznF1z3iiKQaWVtdIHidq5/bvuCtyuAu4yTiVGDp5rQg878lKeADJKD9v9qxxuNbw gwW3WuMqxk/wQOPh86mBUW/hFea93EfZrCHShs3v1KxKluRQWEKSjB5zZMh+A6szG/i0 GqlwD0I6+qhIOlbAsXf2JokqUvtJwIc6zgglSE/bWXQ8CH0Q8U/loneayhw2LTTrVyQn B0PhX5llvdVYrsznstTZ0pIYDORMZ7B8v+YHkcjXpDnOqxXJdIqzHFoc4ZGO88e14jbR Ddww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eW+2TlyI; 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 g22si10154397ejj.443.2020.09.15.11.43.46; Tue, 15 Sep 2020 11:44:09 -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=@gmail.com header.s=20161025 header.b=eW+2TlyI; 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 S1727902AbgIOSmW (ORCPT + 99 others); Tue, 15 Sep 2020 14:42:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727944AbgIORhm (ORCPT ); Tue, 15 Sep 2020 13:37:42 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4488CC061353; Tue, 15 Sep 2020 10:36:22 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id s14so271214pju.1; Tue, 15 Sep 2020 10:36:22 -0700 (PDT) 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=2sltQ7OKUQCVV9G6bV9rSI99zwdlgVY44oFadVRn2CI=; b=eW+2TlyI52Z2+6zFckoS9vSKzJQkTC8U3eGSz6j9TYGbXFJOkHEAuoCYJGN3+JxY0b XoNwtfI6M8RaJU+B1imCAwaKqH11dmXfKa/Oqm1dQlrXOHdPzYDo6bo68WwB+k0FnHqa R0oLQ6al9qZvD/Zje34CJUuoihUl0SWdn+W77zqydjpQZHVkeB06LBgashDJxz1dKSw2 lIsPy20LfMPxKqMoRp2Y8+EOgNbGd2mT6aDrtG/O7eOqHBs5wvejGjFetZ1YKpXoEmla 4EHPv1mFhUKNjzpYTe+9/C/uMb67VGZ8w4gviB26VVe+xtJTaPX9Fk+3lDV86911mtpP Hijg== 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=2sltQ7OKUQCVV9G6bV9rSI99zwdlgVY44oFadVRn2CI=; b=gYemTtjXbn74skc3JE9mn8+0aiYE0ibFsfuFbgvWbYOU5s4Res97Q0PSTAeHeSLM1a GHxZ3flbrxvGY/3GhT3miRwGEkRqUWz9QIUiKz8zRlkBZp+L9HnqF6PJ7kcHHloucB8q okb4ZOOX54I4TLEO4un4RzGy0frMSpCBEW65IhKojxSF79wxzc9vWc8DEOA2DVvg9jF8 mwNQal6IppTCXZyEhBqcQZpF/mX3sWeiPr2D+QYHgudotkax3EC4jsyI6HSRKg1/C8Ty ulDxDx80m6pY9LD5YflQi5ue+d1dd+jD2twUGTzgqwcR8nG7etJ0Wngauq8lSN03lG9B qXoA== X-Gm-Message-State: AOAM532CDB3nRQ/ShSNPsZGSq7xoWzZqnppn59svMJj3QWSa8gguVsP+ 2tDNK3yJikQ5Hir2+tEU+CyhYkxZ5Ro= X-Received: by 2002:a17:90b:198:: with SMTP id t24mr407317pjs.107.1600191381819; Tue, 15 Sep 2020 10:36:21 -0700 (PDT) Received: from localhost.localdomain ([123.110.251.138]) by smtp.gmail.com with ESMTPSA id x3sm14025926pfq.49.2020.09.15.10.36.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2020 10:36:21 -0700 (PDT) From: Gene Chen To: jic23@kernel.org, matthias.bgg@gmail.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH v4 2/3] Documentation: ABI: testing: mt6360: Add ADC sysfs guideline Date: Wed, 16 Sep 2020 01:36:08 +0800 Message-Id: <1600191369-28040-3-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600191369-28040-1-git-send-email-gene.chen.richtek@gmail.com> References: <1600191369-28040-1-git-send-email-gene.chen.richtek@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gene Chen Add ABI documentation for mt6360 ADC sysfs interfaces. Signed-off-by: Gene Chen --- Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 b/Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 new file mode 100644 index 0000000..4b1c270 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 @@ -0,0 +1,83 @@ +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_USBID_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 USBID ADC which connected to connector ID pin. + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VBUSDIV5_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 VBUS ADC with high accuracy + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VBUSDIV2_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 VBUS ADC with low accuracy + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VSYS_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 VSYS ADC + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VBAT_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 VBAT ADC + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_current_IBUS_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 IBUS ADC + Reading returns current in uA + +What: /sys/bus/iio/devices/iio:deviceX/in_current_IBAT_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 IBAT ADC + Reading returns current in uA + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_CHG_VDDP_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 CHG_VDDP ADC + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_temp_TEMP_JC_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 IC junction temperature + Reading returns temperature in degree + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VREF_TS_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 VREF_TS ADC + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_TS_input +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 TS ADC + Reading returns voltage in uV + +What: /sys/bus/iio/devices/iio:deviceX/timestamp +KernelVersion: 5.8.0 +Contact: gene_chen@richtek.com +Description: + Indicated MT6360 timestamp + Reading returns current timestamp in ms -- 2.7.4