Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5e748ff authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt
Browse files

Merge remote-tracking branch 'gpio/ib-aspeed' into upstream-ready

Merge the GPIO tree "ib-aspeed" topic branch which contains pre-requisites
for subsequent changes. This branch is also in gpio "next".
parents fea9cf32 a7ca1382
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Description:
  Kernel code may export it for complete or partial access.

  GPIOs are identified as they are inside the kernel, using integers in
  the range 0..INT_MAX.  See Documentation/gpio/gpio.txt for more information.
  the range 0..INT_MAX.  See Documentation/gpio for more information.

    /sys/class/gpio
	/export ... asks the kernel to export a GPIO to userspace
+0 −3
Original line number Diff line number Diff line
@@ -238,9 +238,6 @@ Description: Discover and change clock speed of CPUs

		See files in Documentation/cpu-freq/ for more information.

		In particular, read Documentation/cpu-freq/user-guide.txt
		to learn how to control the knobs.


What:		/sys/devices/system/cpu/cpu#/cpufreq/freqdomain_cpus
Date:		June 2013
+13 −0
Original line number Diff line number Diff line
@@ -25,3 +25,16 @@ Description:
		Control touchpad mode.
			* 1 -> Switched On
			* 0 -> Switched Off

What:		/sys/bus/pci/devices/<bdf>/<device>/VPC2004:00/fn_lock
Date:		May 2018
KernelVersion:	4.18
Contact:	"Oleg Keri <ezhi99@gmail.com>"
Description:
		Control fn-lock mode.
			* 1 -> Switched On
			* 0 -> Switched Off

		For example:
		# echo "0" >	\
		/sys/bus/pci/devices/0000:00:1f.0/PNP0C09:00/VPC2004:00/fn_lock
+5 −5
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@ control method rather than override the entire DSDT, because kernel
rebuild/reboot is not needed and test result can be got in minutes.

Note: Only ACPI METHOD can be overridden, any other object types like
      "Device", "OperationRegion", are not recognized.
      "Device", "OperationRegion", are not recognized. Methods
      declared inside scope operators are also not supported.
Note: The same ACPI control method can be overridden for many times,
      and it's always the latest one that used by Linux/kernel.
Note: To get the ACPI debug object output (Store (AAAA, Debug)),
@@ -32,8 +33,6 @@ Note: To get the ACPI debug object output (Store (AAAA, Debug)),

      DefinitionBlock ("", "SSDT", 1, "", "", 0x20080715)
      {
	External (ACON)

	Method (\_SB_.AC._PSR, 0, NotSerialized)
	{
		Store ("In AC _PSR", Debug)
@@ -42,9 +41,10 @@ Note: To get the ACPI debug object output (Store (AAAA, Debug)),
      }
      Note that the full pathname of the method in ACPI namespace
      should be used.
      And remember to use "External" to declare external objects.
   e) assemble the file to generate the AML code of the method.
      e.g. "iasl psr.asl" (psr.aml is generated as a result)
      e.g. "iasl -vw 6084 psr.asl" (psr.aml is generated as a result)
      If parameter "-vw 6084" is not supported by your iASL compiler,
      please try a newer version.
   f) mount debugfs by "mount -t debugfs none /sys/kernel/debug"
   g) override the old method via the debugfs by running
      "cat /tmp/psr.aml > /sys/kernel/debug/acpi/custom_method"
+3 −3
Original line number Diff line number Diff line
@@ -44,8 +44,8 @@ Links

Mailing List - apparmor@lists.ubuntu.com

Wiki - http://apparmor.wiki.kernel.org/
Wiki - http://wiki.apparmor.net

User space tools - https://launchpad.net/apparmor
User space tools - https://gitlab.com/apparmor

Kernel module - git://git.kernel.org/pub/scm/linux/kernel/git/jj/apparmor-dev.git
Kernel module - git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
Loading