summaryrefslogtreecommitdiffstats
path: root/docs/submodules/bottlenecks
AgeCommit message (Collapse)AuthorFilesLines
2018-01-10Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - bug-fix: veriry job no coverage package JIRA: BOTTLENECK-219 vitualenv should install nose and coverage package for unittest, only install coverage is not enough since virtualenv will use external nose which couldnt find coverage package installed externally Change-Id: I6daebf2db6dd97cdfd0eac0c43a619229ba38577 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-10Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "bug-fix: coverage package missing for ci verify" - bug-fix: coverage package missing for ci verify JIRA: BOTTLENECK-219 nosetests has enbled coverage check which requires coverage package missing currently Change-Id: Ia4b87a6036ea00532014a332170a19681432f84c Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-10Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - bug-fix: wrong line to modify for getting results In Danube, should modify no.12 line of yardstick config file to let yardstick record result in file instead of reporting to MongoDB. After Danube, it should be no.13 line of that file. Also return to Danube:3.1 and will fix the line issue for VNF scaling test in another ticket Change-Id: I309e9c609967efdda8eaaf289d788ccf1693308e Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-05Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Add unit & coverage test JIRA: BOTTLENECK-219 Using python-nose to run nosetests on unittest and coverage test Change-Id: I3928823bc2f8c65dbe770827ee69da8dd3ced1f2 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-26Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - buf-fix: sfc quota setting JIRA: BOTTLENECK-215 compass master does not enable sfc, only eupurates. changing sfc quota will cause error for "not valide attributes" Change-Id: I77fab2d957d88bed6ed28c06bff9d3c2f7fb0da7 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-22Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - bug-fix: neutron quota for euphrates JIRA: BOTTLENECK-215 It seems SFC is enabled defaultly in euphrates. So modify the quota for SFC Change-Id: Id8b88f03b029ca6a4c1c13098d799958601f1bb6 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-21Update git submodulesAce Lee1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Add Storperf API usage in bottlenecks" - Add Storperf API usage in bottlenecks JIRA: BOTTLENECK-213 This is to use Storperf API in bottlenecks. Change-Id: I3a3fbb3bfd9c278740c070b167222ff122df1d49 Signed-off-by: Shubham Agarwal <shubham.agarwal.coder@gmail.com>
2017-12-21Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - bug-fix: fix neutron quota setting JIRA: BOTTLENECK-215 also fix the bug for type error: converted string Change-Id: Ic56b5ab5c49d8fdbcf49ba4571c2286d5f7bc422 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-15Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Docs update for E 5.1" - Docs update for E 5.1 Change-Id: I53972edc64398339463824d5f8d7193a6e15481f Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-15Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "VNF scale-out testcase" - VNF scale-out testcase JIRA: BOTTLENECK-214 Bottlenecks VNF scale out testcase Change-Id: I05c4dec483062dd59c4b062516c8a6c1bc83ad6e Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-12-15Update git submodules.highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * Hardware definitions for Palm LifeDrive
 *
 * Author:     Marek Vasut <marek.vasut@gmail.com>
 *
 * Based on work of:
 *		Alex Osborne <ato@meshy.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * (find more info at www.hackndev.com)
 *
 */

#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/pda_power.h>
#include <linux/pwm_backlight.h>
#include <linux/gpio.h>
#include <linux/wm97xx.h>
#include <linux/power_supply.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

#include <mach/pxa27x.h>
#include <mach/audio.h>
#include <mach/palmld.h>
#include <linux/platform_data/mmc-pxamci.h>
#include <linux/platform_data/video-pxafb.h>
#include <linux/platform_data/irda-pxaficp.h>
#include <linux/platform_data/keypad-pxa27x.h>
#include <linux/platform_data/asoc-palm27x.h>
#include <mach/palm27x.h>

#include "generic.h"
#include "devices.h"

/******************************************************************************
 * Pin configuration
 ******************************************************************************/
static unsigned long palmld_pin_config[] __initdata = {
	/* MMC */
	GPIO32_MMC_CLK,
	GPIO92_MMC_DAT_0,
	GPIO109_MMC_DAT_1,
	GPIO110_MMC_DAT_2,
	GPIO111_MMC_DAT_3,
	GPIO112_MMC_CMD,
	GPIO14_GPIO,	/* SD detect */
	GPIO114_GPIO,	/* SD power */
	GPIO116_GPIO,	/* SD r/o switch */

	/* AC97 */
	GPIO28_AC97_BITCLK,
	GPIO29_AC97_SDATA_IN_0,
	GPIO30_AC97_SDATA_OUT,
	GPIO31_AC97_SYNC,
	GPIO89_AC97_SYSCLK,
	GPIO95_AC97_nRESET,

	/* IrDA */
	GPIO108_GPIO,	/* ir disable */
	GPIO46_FICP_RXD,
	GPIO47_FICP_TXD,

	/* MATRIX KEYPAD */
	GPIO100_KP_MKIN_0 | WAKEUP_ON_LEVEL_HIGH,
	GPIO101_KP_MKIN_1 | WAKEUP_ON_LEVEL_HIGH,
	GPIO102_KP_MKIN_2 | WAKEUP_ON_LEVEL_HIGH,
	GPIO97_KP_MKIN_3 | WAKEUP_ON_LEVEL_HIGH,
	GPIO103_KP_MKOUT_0,
	GPIO104_KP_MKOUT_1,
	GPIO105_KP_MKOUT_2,

	/* LCD */
	GPIOxx_LCD_TFT_16BPP,

	/* PWM */
	GPIO16_PWM0_OUT,

	/* GPIO KEYS */
	GPIO10_GPIO,	/* hotsync button */
	GPIO12_GPIO,	/* power switch */
	GPIO15_GPIO,	/* lock switch */

	/* LEDs */
	GPIO52_GPIO,	/* green led */
	GPIO94_GPIO,	/* orange led */

	/* PCMCIA */
	GPIO48_nPOE,
	GPIO49_nPWE,
	GPIO50_nPIOR,
	GPIO51_nPIOW,
	GPIO85_nPCE_1,
	GPIO54_nPCE_2,
	GPIO79_PSKTSEL,
	GPIO55_nPREG,
	GPIO56_nPWAIT,
	GPIO57_nIOIS16,
	GPIO36_GPIO,	/* wifi power */
	GPIO38_GPIO,	/* wifi ready */
	GPIO81_GPIO,	/* wifi reset */

	/* FFUART */
	GPIO34_FFUART_RXD,
	GPIO39_FFUART_TXD,

	/* HDD */
	GPIO98_GPIO,	/* HDD reset */
	GPIO115_GPIO,	/* HDD power */

	/* MISC */
	GPIO13_GPIO,	/* earphone detect */
};

/******************************************************************************
 * NOR Flash
 ******************************************************************************/
#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
static struct mtd_partition palmld_partitions[] = {
	{
		.name		= "Flash",
		.offset		= 0x00000000,
		.size		= MTDPART_SIZ_FULL,
		.mask_flags	= 0
	}
};

static struct physmap_flash_data palmld_flash_data[] = {
	{
		.width		= 2
2017-09-08Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Add local support for config preparation before testing JIRA: BOTTLENECK-103 Lcoal support for finding openstack certs and pod yamls Change-Id: Ia0f0ee2fd841a4f88e82ac3f504613a6f431107e Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-21Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Bottlenecks committer update" - Bottlenecks committer update According to email communication with Bottlenecks committer, 4 committers step down and 1 committer cooptation. Details will be sent out through email. Change-Id: I19acc55075d47d240659b0ec2ff19761bdb70a92 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-10Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "VNF characterizaion scale_out test, untested" - VNF characterizaion scale_out test, untested The purpose of this test is to increase the number of VNFs being tested while monitoring aggregate performance scaling. requires https://gerrit.opnfv.org/gerrit/#/c/37993 Change-Id: I0015ef0326859512c7b9ab4c57ef9b5a710ca852 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-10Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "VNF characterization scale_up test, untested" - VNF characterization scale_up test, untested The purpose of this test is to increase the amount of resources provided to the VNF and monitor the ablilty of the VNF to scale requires https://gerrit.opnfv.org/gerrit/#/c/37991/ Change-Id: I4e2384ef120dea2348a623acc1d439696d95e73b Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-10Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "system bandwidth testcase frame rebuild" - system bandwidth testcase frame rebuild JIRA: BOTTLENECK-177 This patch will debug some error in system bandwidth testcase. use the new docker way to test this testcase. Bug fix about dashboard and test framework. Change-Id: I7167ffd75efab9a7780407aa5b9a4337ebb9b4c7 Signed-off-by: liyin <liyin11@huawei.com>
2017-08-09Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - change Dockerfile to adapt Branches Reverse dockerfile Change-Id: I827209833ae4e34e20afba522557c83f4acaaf45 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-04Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Remove Branch var for docker build push" - Remove Branch var for docker build push For Dovetail, remove the var temporiately Change-Id: Ic833d565435b431c83d995c5f5174890cd0570cb Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-03Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Change path to reporting db" - Change path to reporting db JIRA: BOTTLENECK-158 Change the path env to align with CI pipeline Change-Id: Ib5a7799c3eb3e5ba9056aa738c4c3b15995e3c11 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-02Update git submodulesliyin1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Add modify output file function JIRA: BOTTLENECK-176 Add function which could modify outfile name. Also a bug fix about yardstick docker version should be danube.3.1 Change-Id: I0e0bb5b26cae44358311d17932c698505560974c Signed-off-by: liyin <liyin11@huawei.com>
2017-08-02Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Add yardstick danube3.1 support." - Add yardstick danube3.1 support. JIRA: BOTTLENECK-173 This patch will add a result handle for Yardstick danube This is only for bottlenecks danube to use. This will change time to 2 min to wait for Yardstick result back Change-Id: Icbd9d89f3e3816df947eaf6f70a12c86f74a2812 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-08-02Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Bottlenecks testcase rebuild" - Bottlenecks testcase rebuild JIRA: BOTTLENECK-175 After this patch, Bottlenecks will try to find the stress of the openstack system. we try to create 20 stacks one time. And 20 stacks the other time. we will try to find if openstack will pass threshhold twice. This patch only affact latest version Change-Id: I6146cf5c6fe0ac4968337cc36e07f715b64191d0 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-08-02Update git submodulesYang Yu1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Add support for arbitary DB reporting JIRA: BOTTLENECK-158 Support for arbitary DB reporting. TestperfDB and Dovetail DB are within currently consideration. Change-Id: I4373e5f295d26155e2b4fda59044cc4e922c3557 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-01Update git submodulesAce Lee1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Bottlenecks Https support JIRA: BOTTLENECK-174 Bottlenecks Https Support After this patch, you could use https method to run Bottlenecks Motion that if you want to use https, you need to write down the cacert at Bottlenecks /tmp/ dir Change-Id: I86fda57c76179d52e7d4c06c7289e2fcc15a4bc0 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-07-31Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Add Grafana for displaying time series from Prometheus" - Add Grafana for displaying time series from Prometheus JIRA: BOTTLENECK-172 Add Grafana for the monitoring result dashboarding Change-Id: I9b17f4bd745c8556e2b551c6b499d77e3406cbf4 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-07-21Update git submodulesAce Lee1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Bug fix: Bottlenecks sometimes deadlock JIRA: BOTTLENECK-173 This patch will change the way to call multithreading. And change some encoding error about Yardstick config Change-Id: I04803bff6acaad1089d180b104652049f1f0a485 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-07-18Update git submodulesliyin1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Bug fix: fit Yardstick 3.1 version. JIRA: BOTTLENECK-173 This patch will add a file to create some yardstick conf, Yardstick will use this file to manage output file type. Change-Id: I1d265af9f0b9b5132dc63c4d6d95d5bc194c7ff6 Signed-off-by: liyin <liyin11@huawei.com>
2017-07-17Update git submodulesliyin1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Bug fix of Bottlenecks can't use CLI JIRA: BOTTLENECK-171 Bug fix of Bottlenecks can't use CLI to start test. Some docker-compose function delete to fit elk docker support. After this patch you could use bottlenecks testcase run posca_factor_ping to start this test. you also need to put the rc file to bottlenecks docker. Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3 Signed-off-by: liyin <liyin11@huawei.com>
2017-07-17Update git submodulesYu Yang (Gabriel)1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Merge "Add test monitoring module" - Add test monitoring module JIRA: BOTTLENECK-172 Add the monitoring module for Bottlenecks testing. Merging into the framework will be in another patch since framework is under refactoration. Change-Id: I72eb1b6cabac6a9d1d0ef1fb6430f364e8ad76df Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-07-17Update git submodulesliyin1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Add frame support of elk one docker support JIRA: BOTTLENECK-171 Add support of Bottlenecks docker frame refact, After this patch we will provide the ability of several installer. Add Yardstick_TAG to adjust yardstick docker version Change-Id: Ib431f8acf4a76b59f9d5e8783bcc7d2e5be208ae Signed-off-by: liyin <liyin11@huawei.com>
2017-07-13Update git submodulesliyin1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Add docker container manage function JIRA: BOTTLENECK-171 This patch will add a file to create some function, Bottlenecks will use those function to manage docker. for example: docker ip address , create docker ,remove docker. Change-Id: I60e70ed9c6c7805e85b183ea3b19295fce68f657 Signed-off-by: liyin <liyin11@huawei.com>
2017-07-05Update git submodulesyuyang1-0/+0
* Update docs/submodules/bottlenecks from branch 'master' - Initiate docs for Euphrates Release JIRA: BOTTLENECK-170 Initiate docs for euphrates release by chaning the directory structure and contents framewo