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

Commit 91bfa571 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 7e74e617 on remote branch

Change-Id: I19e71269f25a1fcf525e6302cc029cd15d470cb6
parents f6836a3a 7e74e617
Loading
Loading
Loading
Loading

NOTICE

0 → 100644
+40 −0
Original line number Diff line number Diff line
This NOTICE file contains certain notices of software components included
with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") is required to
provide you. Notwithstanding anything in the notices in this file, your use
of these software components together with the Qualcomm Technologies software (Qualcomm Technologies
software hereinafter referred to as "Software") is subject to the terms of
your license from Qualcomm Technologies. Compliance with all copyright laws and software
license agreements included in the notice section of this file are the
responsibility of the user. Except as may be granted by separate express
written agreement, this file provides no license to any patents,
trademarks, copyrights, or other intellectual property.

Copyright (c) 2021 Qualcomm Technologies, Inc. All rights reserved.
Qualcomm is a registered trademark and registered service mark of
QUALCOMM Incorporated. All other trademarks and service marks are the
property of their respective owners.
________________________________________
NOTICES
________________________________________
/*
 * Copyright (C) 2008 Shanghai awinic technology co.,ltd. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS
 * IN THE SOFTWARE.
 */
+3 −3
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@ Required properties :
- compatible: Shall contain "qcom,kona-debugcc", "qcom,lito-debugcc",
		"qcom,bengal-debugcc", "qcom,lagoon-debugcc"
		"qcom,sdm660-debugcc" "qcom,sdm429w-debugcc"
		"qcom,msm8937-debugcc" "qcom,msm8917-debugcc"
		"qcom,sdm429w-debugcc", "qcom,qm215-debugcc"
		or "qcom,sdm450-debugcc", "qcom,khaje-debugcc".
		"qcom,sdm439-debugcc", "qcom,sdm429-debugcc"
		"qcom,qm215-debugcc" or "qcom,khaje-debugcc".

- qcom,gcc: phandle to the GCC device node.
- qcom,videocc: phandle to the Video CC device node.
- qcom,camcc: phandle to the Camera CC device node.
+13 −0
Original line number Diff line number Diff line
@@ -140,6 +140,19 @@ Optional Properties:
				mask   - mask for the relevant bits in the efuse register.
				shift  - number of bits to right shift to get the speed bin
				value.

- qcom,gpu-speed-bin-vectors:
				GPU speed bin vectors property is the series of all the vectors
				in format specified below. Values from individual fuses are read,
				masked and shifted to form a value. At the end all fuse values
				are ordered together to form final speed bin value.
				<offset mask shift>
				<offset mask shift>
				<  ..   ..    ..  >
				offset - offset of the efuse register from the base.
				mask   - mask for the relevant bits in the efuse register.
				shift  - number of bits to right shift.

- qcom,gpu-disable-fuse:	GPU disable fuse
				<offset mask shift>
				offset - offset of the efuse register from the base.
+136 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2008 Shanghai awinic technology co.,ltd. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS
 * IN THE SOFTWARE.
 */

Awinic. AW2016 LED

AW2016 LED device supports 3 LED channels and the driver
register each channel as a single LED class device and
exports interfaces to update brightness, set timer trigger
and enable HW based blink functionalities.

- compatible
  Usage: required
  Value type: <string>
  Definition: Must be "awinic,aw2016_led"

- reg
  Usage: required
  Value type: <u32>
  Definition: The 7-bit I2C address for AW2016 chip.

Properties for child properties:
- awinic,name
  Usage: required
  Value type: <string>
  Definition: Name of the LED which will be register as the LED class
	device name.

- awinic,id
  Usage: required
  Value type: <u32>
  Definition: It represents the LED hardware channel index. The valid
	values are: 0, 1, 2.

- awinic,imax
  Usage: required
  Value type: <u32>
  Definition: The setting of the maximum current for the given LED channel,
	the valid values are: 0, 1, 2, 3, and the corresponding current
	setting are: 15mA, 30mA, 5mA, 10mA.

- awinic,led-current
  Usage: required
  Value type: <u32>
  Definition: The setting of the current when the LED channel is enabled.

- awinic,max-brightness
  Usage: required
  Value type: <u32>
  Definition: The maximum brightness value for the LED class device.

- awinic,rise-time-ms
  Usage: required
  Value type <u32>
  Definition: The duration of the led ramping from 0 to maximum brightness
	when breath function is enabled.

- awinic,hold-time-ms
  Usage: required
  Value type: <u32>
  Definition: The duration of the led staying at the maximum brightness
	when breath function is enabled.

- awinic,fall-time-ms
  Usage: required
  Value type: <u32>
  Definition: The duration of the led ramping down from maximum brightness
	to 0 when breath function is enabled.

- awinic,off-time-ms
  Usage: required
  Value type: <u32>
  Definition: The duration of the led staying at 0 brightness when breath
	function is enabled.

Example:
	awinic@64 {
		compatible = "awinic,aw2016_led";
		reg = <0x64>;

		awinic,red {
			awinic,name = "red";
			awinic,id = <0>;
			awinic,imax = <2>;
			awinic,led-current = <3>;
			awinic,max-brightness = <255>;
			awinic,rise-time-ms = <6>;
			awinic,hold-time-ms = <0>;
			awinic,fall-time-ms = <6>;
			awinic,off-time-ms = <4>;
		};

		awinic,green {
			awinic,name = "green";
			awinic,id = <1>;
			awinic,imax = <2>;
			awinic,led-current = <3>;
			awinic,max-brightness = <255>;
			awinic,rise-time-ms = <6>;
			awinic,hold-time-ms = <0>;
			awinic,fall-time-ms = <6>;
			awinic,off-time-ms = <4>;
		};

		awinic,blue {
			awinic,name = "blue";
			awinic,id = <2>;
			awinic,imax = <2>;
			awinic,led-current = <3>;
			awinic,max-brightness = <255>;
			awinic,rise-time-ms = <6>;
			awinic,hold-time-ms = <0>;
			awinic,fall-time-ms = <6>;
			awinic,off-time-ms = <4>;
		};
	};
+2 −0
Original line number Diff line number Diff line
@@ -1873,6 +1873,7 @@ Optional properties:
- qcom,rxtx-bolero-codec: Property to specify RX-TX macros supported.
- qcom,wsa-bolero-codec: Property to specify WSA macro supported.
- qcom,tdm-audio-intf: Property to specify if Aux PCM interface is used for the target
- qcom,wcd-datalane-mismatch: Property to specify if wcd datalane mismatch.

Example:
	bengal_snd: sound {
@@ -1885,6 +1886,7 @@ Example:
		qcom,va-bolero-codec = <1>;
		qcom,rxtx-bolero-codec = <1>;
		qcom,tdm-audio-intf = <1>;
		qcom,wcd-datalane-mismatch = <1>;

		asoc-platform = <&pcm0>, <&pcm1>, <&pcm2>, <&voip>, <&voice>,
				<&loopback>, <&compress>, <&hostless>,
Loading