diff options
author | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2014-02-05 11:08:53 +0900 |
---|---|---|
committer | Tony SIM <chinyeow.sim.xt@renesas.com> | 2014-10-17 17:35:39 +0800 |
commit | db897ca914f6312f7f7f5de8ec9681f04ab439cd (patch) | |
tree | a2a070e2f7e44c60c25c312b569f0617344b9fc5 | |
parent | 9b8778ce54a9501880d6d22522df6e68bb8a74ff (diff) | |
download | board-config-accepted/tizen_ivi.tar.gz board-config-accepted/tizen_ivi.tar.bz2 board-config-accepted/tizen_ivi.zip |
Add board support configuration filesHEADtizen_3.0_ivi_releasesubmit/tizen_ivi/20141217.021010submit/tizen/20141210.102802accepted/tizen/ivi/20141211.055608tizen_3.0_ivitizenaccepted/tizen_iviaccepted/tizen_3.0_ivi
Add the files to configure the following features:
Audio output
Accelerated video decoding with GStreamer
Change-Id: I5393b60d010691a422c2130ce0af82bdc4c22531
Signed-off-by: Tony SIM <chinyeow.sim.xt@renesas.com>
-rw-r--r-- | COPYING | 7 | ||||
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | packaging/board-config.manifest | 5 | ||||
-rw-r--r-- | packaging/board-config.spec | 22 | ||||
-rw-r--r-- | sound/50-audio.rules | 2 | ||||
-rw-r--r-- | sound/Makefile | 5 | ||||
-rw-r--r-- | sound/asound.state | 38 | ||||
-rw-r--r-- | video/50-video.rules | 2 | ||||
-rw-r--r-- | video/Makefile | 5 | ||||
-rw-r--r-- | video/gstvspfilter.conf | 2 |
10 files changed, 95 insertions, 0 deletions
@@ -0,0 +1,7 @@ +Copyright (C) 2014 Renesas Corporation + +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. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c9eae40 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +SUBDIRS=sound video + +all: + for d in ${SUBDIRS}; do $(MAKE) -C $$d; done + +install: + for d in ${SUBDIRS}; do $(MAKE) install -C $$d; done diff --git a/packaging/board-config.manifest b/packaging/board-config.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/board-config.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/board-config.spec b/packaging/board-config.spec new file mode 100644 index 0000000..3a1cab3 --- /dev/null +++ b/packaging/board-config.spec @@ -0,0 +1,22 @@ +Name: renesas_rcar-board-config +Version: 1.0.0 +Release: 0 +License: MIT +Summary: Board dependent config files +Source: %{name}-%{version}.tar.gz +BuildRequires: make + +%description +This package contains the board dependent configuration files that are +not included as part of other packages. + +%prep +%setup + +%install +%make_install + +%files +%defattr(-,root,root) +%{_sysconfdir}/* +%{_localstatedir}/* diff --git a/sound/50-audio.rules b/sound/50-audio.rules new file mode 100644 index 0000000..e5d5b8d --- /dev/null +++ b/sound/50-audio.rules @@ -0,0 +1,2 @@ +SUBSYSTEMS=="platform", ATTR{id}=="koelschak4643", ENV{SOUND_FORM_FACTOR}="internal" +SUBSYSTEMS=="platform", ATTR{id}=="lagerak4643", ENV{SOUND_FORM_FACTOR}="internal" diff --git a/sound/Makefile b/sound/Makefile new file mode 100644 index 0000000..e8cfde5 --- /dev/null +++ b/sound/Makefile @@ -0,0 +1,5 @@ +install: 50-audio.rules asound.state + install asound.state -D ${DESTDIR}/var/lib/alsa/asound.state + install 50-audio.rules -D ${DESTDIR}/etc/udev/rules.d/50-audio.rules + +.PHONY: install diff --git a/sound/asound.state b/sound/asound.state new file mode 100644 index 0000000..eca4b00 --- /dev/null +++ b/sound/asound.state @@ -0,0 +1,38 @@ +state.SSI01AK4643 { + control.1 { + iface MIXER + name 'Digital Playback Volume' + value.0 180 + value.1 180 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 255' + dbmin -9999999 + dbmax 1200 + dbvalue.0 -2550 + dbvalue.1 -2550 + } + } + control.2 { + iface MIXER + name 'LINEOUT Mixer DACL' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.3 { + iface MIXER + name 'Headphone Enable Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } +} diff --git a/video/50-video.rules b/video/50-video.rules new file mode 100644 index 0000000..9e07e9b --- /dev/null +++ b/video/50-video.rules @@ -0,0 +1,2 @@ +SUBSYSTEM=="video4linux", MODE="0666" +SUBSYSTEM=="media", MODE="0666" diff --git a/video/Makefile b/video/Makefile new file mode 100644 index 0000000..fc2fdab --- /dev/null +++ b/video/Makefile @@ -0,0 +1,5 @@ +install: 50-video.rules gstvspfilter.conf + install 50-video.rules -D ${DESTDIR}/etc/udev/rules.d/50-video.rules + install gstvspfilter.conf -D ${DESTDIR}/etc + +.PHONY: install diff --git a/video/gstvspfilter.conf b/video/gstvspfilter.conf new file mode 100644 index 0000000..c534883 --- /dev/null +++ b/video/gstvspfilter.conf @@ -0,0 +1,2 @@ +input-device-name=/dev/video2 +output-device-name=/dev/video6 |