Konrad Lipinski [Mon, 23 Jan 2017 11:54:48 +0000 (12:54 +0100)]
kdbus: prefer unsigned to ulong for permanent memory
Konrad Lipinski [Mon, 16 Jan 2017 15:47:48 +0000 (16:47 +0100)]
kdbus-test: fix message leak in benchmark tests
Konrad Lipinski [Mon, 16 Jan 2017 15:41:38 +0000 (16:41 +0100)]
kdbus: prefer ulong to unsigned for temporary lvalues
Konrad Lipinski [Mon, 16 Jan 2017 13:11:12 +0000 (14:11 +0100)]
kdbus-test: -n/--notimeout getopt
Konrad Lipinski [Thu, 8 Dec 2016 16:32:42 +0000 (17:32 +0100)]
kdbus-test: augment seclabel test with UID/GID checks and rename to metadata-update
Konrad Lipinski [Thu, 8 Dec 2016 14:11:27 +0000 (15:11 +0100)]
kdbus: CMD_UPDATE_METADATA, use it in seclabel test
Konrad Lipinski [Wed, 30 Nov 2016 12:23:18 +0000 (13:23 +0100)]
kdbus-test: assertions now do a single printf and do not expand preprocessor strings; fix seclabel test
Konrad Lipinski [Tue, 29 Nov 2016 15:35:26 +0000 (16:35 +0100)]
kdbus-test: misc refinements
Konrad Lipinski [Mon, 28 Nov 2016 17:35:39 +0000 (18:35 +0100)]
kdbus: add seclabel: SECLABEL retrieved upon each CONN_INFO, not cached upon HELLO (TIZEN semantics)
Konrad Lipinski [Mon, 28 Nov 2016 15:27:54 +0000 (16:27 +0100)]
kdbus-test: add seclabel: test whether SECLABEL is properly updated on every call/CONN_INFO (TIZEN-required semantics)
Konrad Lipinski [Mon, 28 Nov 2016 15:01:33 +0000 (16:01 +0100)]
kdbus-test: policy-priv: account for self-broadcasts
Konrad Lipinski [Mon, 28 Nov 2016 14:05:13 +0000 (15:05 +0100)]
kdbus-test: message-basic: allow self-broadcasts
Konrad Lipinski [Mon, 28 Nov 2016 13:44:54 +0000 (14:44 +0100)]
kdbus: enable self-broadcasts
Konrad Lipinski [Mon, 28 Nov 2016 13:40:26 +0000 (14:40 +0100)]
kdbus: CONN_INFO: drop ATTACH_FLAGS_RECV support
Konrad Lipinski [Thu, 17 Nov 2016 13:53:22 +0000 (14:53 +0100)]
kdbus: fix async reply refcount leaks
Konrad Lipinski [Wed, 16 Nov 2016 18:52:03 +0000 (19:52 +0100)]
kdbus: conn_call() cleanup
Konrad Lipinski [Wed, 16 Nov 2016 15:54:05 +0000 (16:54 +0100)]
kdbus: pool_slice_copy() fix: off_src now advanced after each write
Konrad Lipinski [Wed, 16 Nov 2016 15:24:16 +0000 (16:24 +0100)]
kdbus: kdbus_pool_slice_copy_iovec: remove unnecessary argument (off)
Konrad Lipinski [Wed, 16 Nov 2016 14:55:31 +0000 (15:55 +0100)]
kdbus-test fixes
Konrad Lipinski [Wed, 16 Nov 2016 12:35:18 +0000 (13:35 +0100)]
kdbus-test: conform to test runner spec
Konrad Lipinski [Wed, 9 Nov 2016 08:40:25 +0000 (09:40 +0100)]
kdbus-test: -l option
Konrad Lipinski [Wed, 12 Oct 2016 10:44:02 +0000 (12:44 +0200)]
kdbus: cmdline emptiness condition fix
Konrad Lipinski [Tue, 11 Oct 2016 12:38:45 +0000 (14:38 +0200)]
kdbus: conn_new partial initialization safety fix
Konrad Lipinski [Thu, 29 Sep 2016 12:05:49 +0000 (14:05 +0200)]
kdbus: CONN_INFO positive return value fix
Konrad Lipinski [Tue, 20 Sep 2016 10:27:52 +0000 (12:27 +0200)]
kdbus: fix NULL free on TIZEN code path for sending unmatched replies
Konrad Lipinski [Thu, 15 Sep 2016 13:25:24 +0000 (15:25 +0200)]
kdbus-test: fix activator for TIZEN
Konrad Lipinski [Thu, 15 Sep 2016 12:31:54 +0000 (14:31 +0200)]
kdbus-test: fix activator for non-TIZEN
Konrad Lipinski [Thu, 15 Sep 2016 12:22:28 +0000 (14:22 +0200)]
kdbus-test: fix test-policy-ns for TIZEN
Konrad Lipinski [Thu, 15 Sep 2016 11:41:04 +0000 (13:41 +0200)]
kdbus-test: fix test-policy-ns for non-TIZEN
Konrad Lipinski [Thu, 15 Sep 2016 10:37:07 +0000 (12:37 +0200)]
kdbus-test: fix test-policy-priv for TIZEN
Konrad Lipinski [Thu, 15 Sep 2016 08:50:40 +0000 (10:50 +0200)]
kdbus-test: fix test-policy-priv for non-TIZEN
Konrad Lipinski [Thu, 15 Sep 2016 06:58:16 +0000 (08:58 +0200)]
kdbus-test: fix test-endpoint for both TIZEN and non-TIZEN
Konrad Lipinski [Fri, 9 Sep 2016 14:31:36 +0000 (16:31 +0200)]
kdbus selftest
Konrad Lipinski [Fri, 9 Sep 2016 11:35:49 +0000 (13:35 +0200)]
kdbus perf
Konrad Lipinski [Fri, 9 Sep 2016 10:43:33 +0000 (12:43 +0200)]
Revert "kdbus: add documentation"
This reverts commit
36c18a4057fcaa150c129c29a842567e83f93a8b.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:32 +0000 (12:43 +0200)]
Revert "kdbus: add uapi header file"
This reverts commit
c95f2190c1822749c0a7f958461130be65c02843.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:31 +0000 (12:43 +0200)]
Revert "kdbus: add driver skeleton, ioctl entry points and utility functions"
This reverts commit
42f0713be88f758d9b9f726e27674fde987a1188.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:31 +0000 (12:43 +0200)]
Revert "kdbus: add connection pool implementation"
This reverts commit
cc89ca00362e0ab4b0a1a54fcce5ac3cc4d0ee52.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:30 +0000 (12:43 +0200)]
Revert "kdbus: add connection, queue handling and message validation code"
This reverts commit
0ff2c46560c9b5dfee310c7248a90a99a3ca218a.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:30 +0000 (12:43 +0200)]
Revert "kdbus: add node and filesystem implementation"
This reverts commit
93faa0a00cc2cd56d3fb120ee1ff8ad019c3e285.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:29 +0000 (12:43 +0200)]
Revert "kdbus: add code to gather metadata"
This reverts commit
dfd382cf940c0bbd63fffd1f7c6cd17626e5eb68.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:28 +0000 (12:43 +0200)]
Revert "kdbus: add code for notifications and matches"
This reverts commit
fd73c2d1b53f9787eaa6978af911ea9b420834cd.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:28 +0000 (12:43 +0200)]
Revert "kdbus: add code for buses, domains and endpoints"
This reverts commit
bb0b2e7f26b1179ebe088d7e007889ae2991c7a0.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:27 +0000 (12:43 +0200)]
Revert "kdbus: add name registry implementation"
This reverts commit
3362791d7f8541d6c81221726077d7d3f8511a62.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:27 +0000 (12:43 +0200)]
Revert "kdbus: add policy database implementation"
This reverts commit
5c96a9c86fcd8dd5fe5b293a84e9e77c0d65ede3.
Konrad Lipinski [Fri, 9 Sep 2016 10:43:12 +0000 (12:43 +0200)]
Revert "kdbus: add Makefile, Kconfig and MAINTAINERS entry"
This reverts commit
c6204bacd7604b96b13c2a444f5f66eb2b1b1cf5.
Conflicts:
init/Kconfig
Konrad Lipinski [Fri, 9 Sep 2016 10:42:41 +0000 (12:42 +0200)]
Revert "kdbus: add walk-through user space example"
This reverts commit
9637d8651c42e4863a8b09dd0fd85c66409db28d.
Konrad Lipinski [Fri, 9 Sep 2016 10:41:49 +0000 (12:41 +0200)]
Revert "kdbus: add selftests"
This reverts commit
bfbc2e3647664de8722b97a10cb7c7bba78a0cc7.
Conflicts:
tools/testing/selftests/Makefile
Konrad Lipinski [Thu, 8 Sep 2016 14:47:43 +0000 (16:47 +0200)]
Revert "Documentation: kdbus: fix location for generated files"
This reverts commit
851895cac4edcb3fe611e7204a9c1bd8e1ac571b.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:42 +0000 (16:47 +0200)]
Revert "kdbus: samples/kdbus: add -lrt"
This reverts commit
dff97f8bfb1dd114211c4bc76787ade48cf66534.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:41 +0000 (16:47 +0200)]
Revert "kdbus: fix minor typo in the walk-through example"
This reverts commit
cc914cc79d871e02658a06f8f868f765b32cbb7a.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:41 +0000 (16:47 +0200)]
Revert "samples/kdbus: drop wrong include"
This reverts commit
d31e2acb1622e9f3e4314e628f5eea3b400a4f9a.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:40 +0000 (16:47 +0200)]
Revert "Documentation/kdbus: fix out-of-tree builds"
This reverts commit
937b9b83f9b6058d49797f06c5b36bb4e68d29d4.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:40 +0000 (16:47 +0200)]
Revert "Documentation/kdbus: support quiet builds"
This reverts commit
09d1608b175268e97c0784ddb0ddbce7ae0b2bf0.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:39 +0000 (16:47 +0200)]
Revert "Documentation/kdbus: replace 'reply_cookie' with 'cookie_reply'"
This reverts commit
0178ce7600a90ec3cc941418046f6fec8b2fb3d1.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:39 +0000 (16:47 +0200)]
Revert "kdbus: fix header guard name"
This reverts commit
49e2599acd7eea5af1875b03851f27834f57c807.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:38 +0000 (16:47 +0200)]
Revert "kdbus: connection: fix handling of failed fget()"
This reverts commit
c021be145c56a87077165a05b9e26ea4b8403cb8.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:37 +0000 (16:47 +0200)]
Revert "samples: kdbus: build kdbus-workers conditionally"
This reverts commit
2cd49799d6087fa396c235487103800603b73f87.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:37 +0000 (16:47 +0200)]
Revert "selftest/kdbus: enable cross compilation"
This reverts commit
ca25274cc015b21d54b0e0e47d0bea932116bbeb.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:36 +0000 (16:47 +0200)]
Revert "kdbus: uapi: Fix kernel-doc for enum kdbus_send_flags"
This reverts commit
0a4a890ce39ffad838a3292ad9530680576e5e43.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:36 +0000 (16:47 +0200)]
Revert "Documentation: kdbus: Fix list of KDBUS_CMD_ENDPOINT_UPDATE errors"
This reverts commit
a87631041005f50e0cdd67af4304029319342246.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:35 +0000 (16:47 +0200)]
Revert "Documentation: kdbus: Update list of ioctls which cause writing to receiver's pool"
This reverts commit
2685aaa1491d081476e7a650d590fabaf6106318.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:35 +0000 (16:47 +0200)]
Revert "Documentation: kdbus: Fix description of KDBUS_SEND_SYNC_REPLY flag"
This reverts commit
fe457e2fa9c48a80a9df3733dccd0ee3d79baf5b.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:34 +0000 (16:47 +0200)]
Revert "Documentation: kdbus: Fix typos"
This reverts commit
61e088cc5a532236e7032295306d51687cdad8fc.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:33 +0000 (16:47 +0200)]
Revert "kdbus: avoid the use of struct timespec"
This reverts commit
c6c6bf55b3884bfe60db47780b96339eb7739a78.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:33 +0000 (16:47 +0200)]
Revert "kdbus: do not append the same connection to the queue twice"
This reverts commit
204d5d1ebd6966496c98b2b8ef29075b7b77a2fa.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:32 +0000 (16:47 +0200)]
Revert "kdbus: use LSM hooks in kdbus code"
This reverts commit
d6569676240fbd5ea8625c716c350b333132d1ba.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:32 +0000 (16:47 +0200)]
Revert "kdbus: TEST_CREATE_CONN now does no depend on TEST_CREATE_BUS"
This reverts commit
f539d4d79a080e697fee6f63a4d6e66609892139.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:31 +0000 (16:47 +0200)]
Revert "kdbus: selftests extended"
This reverts commit
76f2f0ce4d28dcf5bffa2fe205a955f30064d78d.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:30 +0000 (16:47 +0200)]
Revert "kdbus: Ability to run kdbus test by executable binary name"
This reverts commit
d52f42806d6f4c8062487d194ceb58e630bb6e43.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:30 +0000 (16:47 +0200)]
Revert "kdbus: Eliminate warning caused by lack of uapi/linux/kdbus.h inclusion"
This reverts commit
ad289b06b44d8ee26ddebb7ae2f356aae54c6996.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:29 +0000 (16:47 +0200)]
Revert "kdbus: disable internal kdbus policy"
This reverts commit
00f9d63df02b74553422b8c78c0bad56e6feeb7a.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:29 +0000 (16:47 +0200)]
Revert "kdbus: pool: use __vfs_read()"
This reverts commit
43cae6073ecad6f3d5d88d501adb82d7d6033ada.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:28 +0000 (16:47 +0200)]
Revert "kdbus: disable all internal policy checks"
This reverts commit
be985df5ae55fc71deab9e1d5fcac184e1c6d781.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:27 +0000 (16:47 +0200)]
Revert "kdbus: disable internal kdbus policy"
This reverts commit
d3b7dbe82cbfeccc185429db97de9900d5613c2e.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:26 +0000 (16:47 +0200)]
Revert "Remove kdbus Linux Security Module hooks"
This reverts commit
f96c6e2fdf356414d97685cd75b12f22ac1be89f.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:25 +0000 (16:47 +0200)]
Revert "increate KDBUS_CONN_MAX_REQUESTS_PENDING to 1024 from 128"
This reverts commit
550b610f452ab35ec1687bf5a2c27ae97935d18c.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:24 +0000 (16:47 +0200)]
Revert "kdbus: allow unix domain socket fd passing"
This reverts commit
f2aac2074d017971dbfb49a9bbc576e03e3eb07b.
Konrad Lipinski [Thu, 8 Sep 2016 14:47:24 +0000 (16:47 +0200)]
Revert "kdbus: allowing sending replies even if NO_EXPECT_REPLY is set"
This reverts commit
b69a86c13e9edea37fc765acf844732446fb7048.
Seung-Woo Kim [Wed, 7 Sep 2016 01:09:29 +0000 (10:09 +0900)]
drm/exynos/hdmi: workaround to check invalid modes with attached drm bridge
Currently, there is no way to check valid modes for bridge from
user and if the attached drm bridge, mhl adapter, does not support
a mode with fixup, then it is not possible to be set on exynos-hdmi.
So this patch adds workaround to check invalid modes with attached
drm bridge during mode_valid from exynos-hdmi.
Change-Id: I4dcd7edaa1261c1c3ed349c2dcddec226efcc6ec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Sylwester Nawrocki [Wed, 7 Sep 2016 14:50:26 +0000 (07:50 -0700)]
Merge "Enable dummy_hcd and FunctionFS in tm2 config." into tizen
Hoegeun Kwon [Fri, 2 Sep 2016 02:30:10 +0000 (11:30 +0900)]
arm64: dts: exynos5433: add sleep state for BCM4773 sensorhub gpios
The BCM4773 power pins need to be alive during sleep mode,
because the MCU needs to respond to the external sensors events.
Add a sleep alive state for pins.
- gpd2-0 (GPS_HUB_EN)
- gpf2-2 (MCU_AP_INT_2_1.8V)
- gpf2-3 (AP_MCU_INT_1.8V)
While pins:
- gpd8-0 (SHUB_SPI_SCK)
- gpd8-1 (SHUB_SPI_SSN)
- gpd6-0 (SHUB_SPI_MISO)
- gpd6-1 (SHUB_SPI_MOSI)
need to be managed when the device goes and resumes from
sleep mode.
Change-Id: If508f5b4526e5de665f76b0adb96ae64779b6eb7
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Krzysztof Opasiak [Mon, 5 Sep 2016 15:24:48 +0000 (17:24 +0200)]
Enable dummy_hcd and FunctionFS in tm2 config.
This is required to run usb host API test suit.
Change-Id: I203ef286bef030ddd359e6e18145b612a7d8dc05
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Joonyoung Shim [Wed, 31 Aug 2016 09:17:48 +0000 (18:17 +0900)]
drm: bridge: sii8620: retry hw reset with i2c failure
With specific targets, sometimes(almost) i2c read is failed when hdmi
cable is plugged.
[ 341.285875] sii8620 7-0039: I2C read of [0x0000] failed with code -6.
[ 341.286149] sii8620 7-0039: Error accessing I2C bus, -6.
Retry hw reset operation of sii8620 mhl if i2c read is failed then can
do normal i2c operation. This solution came from android kernel.
Change-Id: Icf9f54eb941e3ac5a8728fb9552b51928578d508
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Dongwoo Lee [Mon, 29 Aug 2016 04:30:13 +0000 (13:30 +0900)]
usb: gadget: change the class of MTP interface descriptor
The host fails to recognize tm2(e) as gadget mode when VID is changed, even
though the matching is performed without comparing VID. This patch fixes
this issue by changing the class of MTP interface descriptor.
Change-Id: I75c1ff710c28bb7c911963bce6c8cdb328424b95
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Seung-Woo Kim [Tue, 30 Aug 2016 04:31:03 +0000 (13:31 +0900)]
build: add support for x86_64 host
For x86_64 host local build, this patch adds prebuilt mkimage from
u-boot and local build script files uses the prebuilt mkimage as
host architecture. The mkimage requires dtc also, but it is already
in scripts/dtc and built as host tool during kernel build,so dtc is
not required prebuilt files.
Change-Id: Id3f734ee39cc1e639bcaff2a7e49ad6d6c66665a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 26 Aug 2016 07:04:31 +0000 (16:04 +0900)]
sensors: sensorhub_brcm: fix for compatibility
For 32bit compatibility, compat_ioctl should be registered. Also,
32bit built IOCTL value is different from 64bit, then it should be
considered. So this fixes for compatibility with compat_ioctl.
Change-Id: I11c353d4cd39a8ef5014f2b9b2d1f504fda86182
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 26 Aug 2016 04:16:45 +0000 (13:16 +0900)]
misc: tizen_global_lock: replace device node name to tgl
The old name is not necessary anymore, so this patch replaces device
node name to "tgl".
Change-Id: I9e4c92db3c355e74b909384ff869b2aa3a388086
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 25 Aug 2016 08:16:03 +0000 (17:16 +0900)]
arm64: defconfig: tm2: enable SMACK and AUDIT options for NETFILTER
To support security check of network packet from Tizen platform,
it is required to enable the configs for SMACK_NETFILTER dependent
on NETWORK_SECMARK and AUDIT of NETFILTER.
Change-Id: I684ce5771dbd6e52ee529ede647d36c6561e549e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 25 Aug 2016 08:02:54 +0000 (17:02 +0900)]
ARM: defconfig: odroid: enable SMACK and AUDIT options for NETFILTER
To support security check of network packet from Tizen platform,
it is required to enable the configs for SMACK_NETFILTER dependent
on NETWORK_SECMARK and AUDIT of NETFILTER.
Change-Id: I9176fcad446ea87f503165c4cf2f3aff3c60ec4f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Wed, 17 Aug 2016 07:19:50 +0000 (16:19 +0900)]
sensors: brcm: use non atomic sleeps instead of atomic delays
Do not use mdelay in non atomic contexts, use the appropriate
*sleep functions instead.
mdelay should be used only in atomic contexts, out from atomic it
keeps looping over the CPU wasting unnecessary resources.
Replace the mdelay's with:
- usleep_range for 10us - 20ms delays,
- msleep for over 20ms
Change-Id: Id03238f3918f43cb42c31ef258a12c3e7f4506a5
Reported-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 17 Aug 2016 07:17:38 +0000 (16:17 +0900)]
arm64: tizen_tm2_defconfig: enable BCM4773 version 2 sensorhub for tm2(e)
The CONFIG_SENSORS_SSP_BBD_VER2 flag enables the version 2 of the
sensorhub in the config file.
Change-Id: I21984f496e063f3cb727a8f76f6e189cafc2bd71
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 18 Aug 2016 08:46:19 +0000 (17:46 +0900)]
sensors: brcm: bbdpl2: add new version (v2) of the BCM4773 sensorhub
Commit, "sensors: add support for the BCM 4773 sensorhub" has
added support for the BCM4773. Since then the firmware interface
has been updated to a new version: version 2.
Add the second version of the BCM4773 sensorhub and rename the
previous version configuration flags to VER1.
Change-Id: Ie40d4b41fe4c3491567246392d2fee1d7c9cad48
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Hoegeun Kwon [Wed, 17 Aug 2016 06:59:42 +0000 (15:59 +0900)]
arm64: tizen_tm2_defconfig: Enables BCM4773 sensorhub for tm2 board
Add support for the BCM4773 in the exynos5433 tm2 and tm2e
boards as spi_0 nodes.
Change-Id: I765f87ee868dfe8d4155a42bf895b09c35cbb85b
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 17 Aug 2016 06:58:31 +0000 (15:58 +0900)]
arm64: dts: exynos5433: add BCM4773 sensorhub dt node for tm2(e)
Add support for the BCM4773 in the exynos5433 tm2 and tm2e
boards as spi_0 nodes.
Move the GPIO initialization pins in the board section.
Change-Id: Ia4567598527d5169c6669c791fcf40e5d7693b70
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Wed, 17 Aug 2016 06:57:23 +0000 (15:57 +0900)]
sensors: add support for the BCM 4773 sensorhub
The Broadcom BCM4773 is a microcontroller that works as a
sensorhub. It's placed in between sensors and AP.
It's connected to the AP through SPI bus and has support for
a range of sensors:
- icm20610
- yas532
- bmp182
- tmg399x
- mobeam
The config file provides a "choice" option in order to choose
between different targets, S333 and TM2(e).
The BCM4773 it can handle GPS and the gps driver is the main
entry point to the sensorhub driver as an SPI device.
Change-Id: I07f676459cf53cbb88d75cac0459b5e374f353a5
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 17 Aug 2016 08:31:22 +0000 (17:31 +0900)]
sensors: Kconfig: move the ssp and ssp_sensorhub in upper directory
The CONFIG_SSP and SENSORS_SSP_SENSORHUB are flags not strictly
related to the STM sensorhub. Put them outside from the
stm_rinato directory to an upper level to be ready to relate to
other sensorhubs.
Change-Id: I0334080c699136659842746fd06dcbbdeeccc0c0
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 24 Aug 2016 01:03:04 +0000 (10:03 +0900)]
sensors: stm_rinato: Kconfig: remove unused SHTC1 driver configuration
The STM sensorhub doesn't have the shtc1 compass sensor driver.
Remove it from the related configuration file.
Change-Id: Ie37da88344b975d61a379b40d8175e944f5a6b71
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Andrzej Hajda [Fri, 19 Aug 2016 11:46:57 +0000 (13:46 +0200)]
drm/panel/s6e3ha2: add panel id read code
The patch adds helper to DCS read commands and reporting Display ID.
Change-Id: I9924bfd1ef18130fd36b6120cec0cd6c9dcfc279
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Andrzej Hajda [Thu, 18 Aug 2016 15:41:48 +0000 (17:41 +0200)]
drm/panel/s6e3ha2: remove spare underscore
Coding style fix.
Change-Id: I9924bfd1ef18130fd36b6120cec0cd6c9dcfc278
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>