All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/5] Documentation/ABI: Add file describing the sysfs entries for toshiba_acpi
Date: Wed, 11 Feb 2015 21:38:07 -0800	[thread overview]
Message-ID: <20150212053807.GD30527@fury.dvhart.com> (raw)
In-Reply-To: <1423637040-6813-3-git-send-email-coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Tue, Feb 10, 2015 at 11:43:57PM -0700, Azael Avalos wrote:
> This patch adds a new file describing the sysfs entries for the
> toshiba_acpi driver.
> 

+linux-api list

I've queued this for 3.20 through platform-drivers-x86. Any objections?


> Signed-off-by: Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
>  .../ABI/testing/sysfs-driver-toshiba_acpi          | 114 +++++++++++++++++++++
>  1 file changed, 114 insertions(+)
>  create mode 100644 Documentation/ABI/testing/sysfs-driver-toshiba_acpi
> 
> diff --git a/Documentation/ABI/testing/sysfs-driver-toshiba_acpi b/Documentation/ABI/testing/sysfs-driver-toshiba_acpi
> new file mode 100644
> index 0000000..ca9c71a
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-driver-toshiba_acpi
> @@ -0,0 +1,114 @@
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_mode
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file controls the keyboard backlight operation mode, valid
> +		values are:
> +			* 0x1  -> FN-Z
> +			* 0x2  -> AUTO (also called TIMER)
> +			* 0x8  -> ON
> +			* 0x10 -> OFF
> +		Note that the kernel 3.16 onwards this file accepts all listed
> +		parameters, kernel 3.15 only accepts the first two (FN-Z and
> +		AUTO).
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_timeout
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file controls the timeout of the keyboard backlight
> +		whenever the operation mode is set to AUTO (or TIMER),
> +		valid values range from 0-60.
> +		Note that the kernel 3.15 only had support for the first
> +		keyboard type, the kernel 3.16 added support for the second
> +		type and the range accepted for type 2 is 1-60.
> +		See the entry named "kbd_type"
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/position
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file shows the absolute position of the built-in
> +		accelereometer.
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/touchpad
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This files controls the status of the touchpad and pointing
> +		stick (if available), valid values are:
> +			* 0 -> OFF
> +			* 1 -> ON
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/available_kbd_modes
> +Date:		August 3, 2014
> +KernelVersion:	3.16
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file shows the supported keyboard backlight modes
> +		the system supports, which can be:
> +			* 0x1  -> FN-Z
> +			* 0x2  -> AUTO (also called TIMER)
> +			* 0x8  -> ON
> +			* 0x10 -> OFF
> +		Note that not all keyboard types support the listed modes.
> +		See the entry named "available_kbd_modes"
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_type
> +Date:		August 3, 2014
> +KernelVersion:	3.16
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file shows the current keyboard backlight type,
> +		which can be:
> +			* 1 -> Type 1, supporting modes FN-Z and AUTO
> +			* 2 -> Type 2, supporting modes TIMER, ON and OFF
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/version
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file shows the current version of the driver
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/fan
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file controls the state of the internal fan, valid
> +		values are:
> +			* 0 -> OFF
> +			* 1 -> ON
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_function_keys
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file controls the Special Functions (hotkeys) operation
> +		mode, valid values are:
> +			* 0 -> Normal Operation
> +			* 1 -> Special Functions
> +		In the "Normal Operation" mode, the F{1-12} keys are as usual
> +		and the hotkeys are accessed via FN-F{1-12}.
> +		In the "Special Functions" mode, the F{1-12} keys trigger the
> +		hotkey and the F{1-12} keys are accessed via FN-F{1-12}.
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/panel_power_on
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file controls whether the laptop should turn ON whenever
> +		the LID is opened, valid values are:
> +			* 0 -> Disabled
> +			* 1 -> Enabled
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_three
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> +Description:	This file controls whether the USB 3 functionality, valid
> +		values are:
> +			* 0 -> Disabled (Acts as a regular USB 2)
> +			* 1 -> Enabled (Full USB 3 functionality)
> -- 
> 2.2.2
> 
> 

-- 
Darren Hart
Intel Open Source Technology Center

WARNING: multiple messages have this Message-ID (diff)
From: Darren Hart <dvhart@infradead.org>
To: Azael Avalos <coproscefalo@gmail.com>
Cc: platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-api@vger.kernel.org
Subject: Re: [PATCH 2/5] Documentation/ABI: Add file describing the sysfs entries for toshiba_acpi
Date: Wed, 11 Feb 2015 21:38:07 -0800	[thread overview]
Message-ID: <20150212053807.GD30527@fury.dvhart.com> (raw)
In-Reply-To: <1423637040-6813-3-git-send-email-coproscefalo@gmail.com>

On Tue, Feb 10, 2015 at 11:43:57PM -0700, Azael Avalos wrote:
> This patch adds a new file describing the sysfs entries for the
> toshiba_acpi driver.
> 

+linux-api list

I've queued this for 3.20 through platform-drivers-x86. Any objections?


> Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
> ---
>  .../ABI/testing/sysfs-driver-toshiba_acpi          | 114 +++++++++++++++++++++
>  1 file changed, 114 insertions(+)
>  create mode 100644 Documentation/ABI/testing/sysfs-driver-toshiba_acpi
> 
> diff --git a/Documentation/ABI/testing/sysfs-driver-toshiba_acpi b/Documentation/ABI/testing/sysfs-driver-toshiba_acpi
> new file mode 100644
> index 0000000..ca9c71a
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-driver-toshiba_acpi
> @@ -0,0 +1,114 @@
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_mode
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file controls the keyboard backlight operation mode, valid
> +		values are:
> +			* 0x1  -> FN-Z
> +			* 0x2  -> AUTO (also called TIMER)
> +			* 0x8  -> ON
> +			* 0x10 -> OFF
> +		Note that the kernel 3.16 onwards this file accepts all listed
> +		parameters, kernel 3.15 only accepts the first two (FN-Z and
> +		AUTO).
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_timeout
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file controls the timeout of the keyboard backlight
> +		whenever the operation mode is set to AUTO (or TIMER),
> +		valid values range from 0-60.
> +		Note that the kernel 3.15 only had support for the first
> +		keyboard type, the kernel 3.16 added support for the second
> +		type and the range accepted for type 2 is 1-60.
> +		See the entry named "kbd_type"
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/position
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file shows the absolute position of the built-in
> +		accelereometer.
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/touchpad
> +Date:		June 8, 2014
> +KernelVersion:	3.15
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This files controls the status of the touchpad and pointing
> +		stick (if available), valid values are:
> +			* 0 -> OFF
> +			* 1 -> ON
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/available_kbd_modes
> +Date:		August 3, 2014
> +KernelVersion:	3.16
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file shows the supported keyboard backlight modes
> +		the system supports, which can be:
> +			* 0x1  -> FN-Z
> +			* 0x2  -> AUTO (also called TIMER)
> +			* 0x8  -> ON
> +			* 0x10 -> OFF
> +		Note that not all keyboard types support the listed modes.
> +		See the entry named "available_kbd_modes"
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_type
> +Date:		August 3, 2014
> +KernelVersion:	3.16
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file shows the current keyboard backlight type,
> +		which can be:
> +			* 1 -> Type 1, supporting modes FN-Z and AUTO
> +			* 2 -> Type 2, supporting modes TIMER, ON and OFF
> +Users:		KToshiba
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/version
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file shows the current version of the driver
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/fan
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file controls the state of the internal fan, valid
> +		values are:
> +			* 0 -> OFF
> +			* 1 -> ON
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_function_keys
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file controls the Special Functions (hotkeys) operation
> +		mode, valid values are:
> +			* 0 -> Normal Operation
> +			* 1 -> Special Functions
> +		In the "Normal Operation" mode, the F{1-12} keys are as usual
> +		and the hotkeys are accessed via FN-F{1-12}.
> +		In the "Special Functions" mode, the F{1-12} keys trigger the
> +		hotkey and the F{1-12} keys are accessed via FN-F{1-12}.
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/panel_power_on
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file controls whether the laptop should turn ON whenever
> +		the LID is opened, valid values are:
> +			* 0 -> Disabled
> +			* 1 -> Enabled
> +
> +What:		/sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_three
> +Date:		February, 2015
> +KernelVersion:	3.20
> +Contact:	Azael Avalos <coproscefalo@gmail.com>
> +Description:	This file controls whether the USB 3 functionality, valid
> +		values are:
> +			* 0 -> Disabled (Acts as a regular USB 2)
> +			* 1 -> Enabled (Full USB 3 functionality)
> -- 
> 2.2.2
> 
> 

-- 
Darren Hart
Intel Open Source Technology Center

  parent reply	other threads:[~2015-02-12  5:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11  6:43 [PATCH 0/5] toshiba_acpi: Clean file plus some function renames Azael Avalos
2015-02-11  6:43 ` [PATCH 1/5] toshiba_acpi: Clean file according to coding style Azael Avalos
2015-02-11  6:43 ` [PATCH 2/5] Documentation/ABI: Add file describing the sysfs entries for toshiba_acpi Azael Avalos
     [not found]   ` <1423637040-6813-3-git-send-email-coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-02-12  5:38     ` Darren Hart [this message]
2015-02-12  5:38       ` Darren Hart
     [not found]       ` <20150212053807.GD30527-JIrPihikzLEQaXB9iyTzyw@public.gmane.org>
2015-02-12  5:42         ` Azael Avalos
2015-02-12  5:42           ` Azael Avalos
2015-02-11  6:43 ` [PATCH 3/5] toshiba_acpi: Move sysfs function and struct declarations further down Azael Avalos
2015-02-11  6:43 ` [PATCH 4/5] toshiba_acpi: Drop the toshiba_ prefix from sysfs function names Azael Avalos
2015-02-11  6:44 ` [PATCH 5/5] toshiba_acpi: Make use of DEVICE_ATTR_{RO, RW} macros Azael Avalos
2015-02-12  5:30 ` [PATCH 0/5] toshiba_acpi: Clean file plus some function renames Darren Hart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150212053807.GD30527@fury.dvhart.com \
    --to=dvhart-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
    --cc=coproscefalo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.