platform/adaptation/tm1/pass-hal-tm1.git
6 years agopass-hal: tm1: packaging: Use %{_libdir} macro instead of /usr/lib 50/135450/1 submit/tizen/20170629.044637
Wook Song [Thu, 22 Jun 2017 09:54:12 +0000 (18:54 +0900)]
pass-hal: tm1: packaging: Use %{_libdir} macro instead of /usr/lib

This patch replaces the path referring to /usr/lib in the spec file with
the macro %{_libdir}.

Change-Id: Ia6f85906bd01a1876cb02eea4873b78dbaccc1c3
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm1: Apply the value type change of pass_res_type 19/134919/3
Wook Song [Tue, 20 Jun 2017 08:40:19 +0000 (17:40 +0900)]
pass-hal: tm1: Apply the value type change of pass_res_type

This patch applies the change of the value type of the entry,
"pass_res_type", to the PassResource0 section of the pass.conf file.

Change-Id: Ia74dc31f75ab043ebed803cfab227b9b0e99a40e
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm1: packaging: Restart daemon after install/uninstall 77/134877/4
Wook Song [Tue, 20 Jun 2017 07:29:36 +0000 (16:29 +0900)]
pass-hal: tm1: packaging: Restart daemon after install/uninstall

This patch adds bits of code to %post and %postun sections so that the
daemon is restarted when the package is installed/uninstalled. Note that
the daemon is only restarted in the case of that the daemon is running
before the hal package is installed/uninstalled.

Change-Id: I9d5b1c7ae01e9dca61eedebe727685a066b9d0cd
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm1: Add pass-hal.conf to change the permission of sysfs nodes 40/134240/3
Chanwoo Choi [Thu, 15 Jun 2017 10:34:56 +0000 (19:34 +0900)]
pass-hal: tm1: Add pass-hal.conf to change the permission of sysfs nodes

The pass-hal-tm1 package handles the many sysfs nodes in order
to change the state of h/w resources. All sysfs node should
be required to change the permission from root to system_fw
because PASS daemon has the system_fw permission.

So, this patch adds new pass-hal.conf which contains
the permission information for the required sysfs nodes.

Change-Id: I62b761c101841ec0db09389ac6476d3d00d14ab6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm1: Remove unused scenarios 39/134239/1
Chanwoo Choi [Thu, 15 Jun 2017 10:36:24 +0000 (19:36 +0900)]
pass-hal: tm1: Remove unused scenarios

This patch removes the unused scenarios except for AppLaunch and
UltraPowerSaving.

Change-Id: Iabfa7d26fbbb353cfecc43a55ae48128ce34b5a6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm1: Add missing license information 92/128692/1
Chanwoo Choi [Thu, 11 May 2017 05:26:50 +0000 (14:26 +0900)]
pass-hal: tm1: Add missing license information

This patch adds the missing license information for *.(c|h).
The pass-hal-tm1 uses the Apache-2.0 License

Change-Id: I2fd6b7a34230dcd34b3c55f323cc58c50899b60f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm1: Add LICENSE file 91/128691/1
Chanwoo Choi [Thu, 11 May 2017 05:23:01 +0000 (14:23 +0900)]
pass-hal: tm1: Add LICENSE file

This patch adds the missing LICENSE file which is Apache-2.0.

Change-Id: If59ec958744ff80ac2b4314113131752252e2c38
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm1: Add resource name for open and close function 06/127106/2 accepted/tizen/unified/20170426.200228 submit/tizen/20170426.080126 tizen_4.0.m1_release
Chanwoo Choi [Wed, 26 Apr 2017 07:42:52 +0000 (16:42 +0900)]
pass-hal: tm1: Add resource name for open and close function

This patch just adds the new argument of h/w resource name
when calling the open and close functions. The resource name
will be used to identify the h/w resource.

Change-Id: If919c848c89b94906bf5930216b2db678369c87c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm1: Modify close function to unlock PMQoS 90/121690/3
Wook Song [Tue, 28 Mar 2017 11:09:27 +0000 (20:09 +0900)]
pass-hal: tm1: Modify close function to unlock PMQoS

This patch modifies the close function so that it unlocks all of the
PMQoS states for the CPU resource when the PASS daemon is stopped.

Change-Id: Ib2921253eab0c40454f0527b2ddd624235c6511d
Signed-off-by: Wook Song <wook16.song@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopackaging: Add ExclusiveArch property to build on armv7l architecture 91/121491/1 accepted/tizen_mobile accepted/tizen/mobile/20170331.082932 accepted/tizen/unified/20170331.083114 submit/tizen/20170330.074232
Chanwoo Choi [Tue, 28 Mar 2017 05:55:27 +0000 (14:55 +0900)]
packaging: Add ExclusiveArch property to build on armv7l architecture

This patch adds the 'ExclusiveArch' property in order to build
this package only for armv7l.

Change-Id: If70ed076cb54642082386f7e1435d54ab360f7cd
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm1: Fix value of governor type for CPU resource 85/116585/2
Chanwoo Choi [Mon, 27 Feb 2017 05:52:32 +0000 (14:52 +0900)]
pass-hal: tm1: Fix value of governor type for CPU resource

This patch fixes the value of governor type for CPU  h/w resource
because PASS core redefines the governor types as following:
- PASS_GOV_DUMMY         : -1
- PASS_GOV_BASIC         : 0
- PASS_GOV_HOTPLUG_ONLY  : 1
- PASS_GOV_RADIATION     : 2
- PASS_GOV_STEP          : 3

The CPU resource on TM1 use the PASS_GOV_HOTPLUG_ONLY governor
which uses both HAL interface, Resource controller and Hotplug interface.

Change-Id: I404c30a3879c8fbbee152e241c55025d1ef2c76f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm1: Remove pass_compatible entry from resource conf file 00/114800/2
Wook Song [Wed, 15 Feb 2017 06:44:59 +0000 (15:44 +0900)]
pass-hal: tm1: Remove pass_compatible entry from resource conf file

This patch removes the pass_compatible entry from the resource config
file (e.g., pass-resource0.conf) because it is not required any more.

Change-Id: Id19e2194db9cfd98ea0b7cf90ee6d95fefa2df6c
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm1: Add configuration files for resources 83/114783/5
Wook Song [Wed, 15 Feb 2017 05:15:31 +0000 (14:15 +0900)]
pass-hal: tm1: Add configuration files for resources

This patch adds the new configuration files for resources of TM1
board.
- pass.conf contains the number of supported resources and the
  information
- pass-resource0.conf is the configuration file for CPU cores on TM1.

Change-Id: I0edb434adc34e85051ddb6522032d8413aa7d0e1
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm1: Add implementation of HAL for CPU 82/114782/4
Wook Song [Tue, 14 Feb 2017 08:37:23 +0000 (17:37 +0900)]
pass-hal: tm1: Add implementation of HAL for CPU

This patch adds an implementation of the PASS HAL for CPU.

Change-Id: I7d63c225a64cb6a422e22481c8fb690402eb7a64
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal-tm1: Create spec file for RPM package 81/114781/1
Wook Song [Thu, 9 Feb 2017 05:59:47 +0000 (14:59 +0900)]
pass-hal-tm1: Create spec file for RPM package

This patch creates files required to build the RPM package. After
applying this patch, you can build an empty RPM package named
pass-hal-tm1.

Change-Id: I8ceee3f10ef3134aefba8103ff9244d7189f218d
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 13 Feb 2017 04:17:14 +0000 (20:17 -0800)]
Initial empty repository