/*
 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
 *
 * 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#ifndef __CLOCKSOURCE_SAMSUNG_PWM_H
#define __CLOCKSOURCE_SAMSUNG_PWM_H

#include <linux/spinlock.h>

#define SAMSUNG_PWM_NUM		5

/*
 * Following declaration must be in an ifdef due to this symbol being static
 * in pwm-samsung driver if the clocksource driver is not compiled in and the
 * spinlock is not shared between both drivers.
 */
#ifdef CONFIG_CLKSRC_SAMSUNG_PWM
extern spinlock_t samsung_pwm_lock;
#endif

struct samsung_pwm_variant {
	u8 bits;
	u8 div_base;
	u8 tclk_mask;
	u8 output_mask;
	bool has_tint_cstat;
};

void samsung_pwm_clocksource_init(void __iomem *base,
		unsigned int *irqs, struct samsung_pwm_variant *variant);

#endif /* __CLOCKSOURCE_SAMSUNG_PWM_H */
mp-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>uapi</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>asm-generic</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Roger Shimizu &lt;rogershimizu@gmail.com&gt;</td><td class='right'>2017-01-30 20:07:29 +0900</td></tr>
<tr><th>committer</th><td>Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;</td><td class='right'>2017-01-31 12:19:32 +0100</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>81917bad86a66f2bdcb12b4c10ab1bf333ed25ec</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/uapi/asm-generic?id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>3d56cb771fc5f0a37412e62f99aacc6d21a646c0</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>include/uapi/asm-generic</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic?h=nds-private-remove&amp;id=0c744ea4f77d72b3dcebb7a8f2684633ec79be88'>0c744ea4f77d72b3dcebb7a8f2684633ec79be88</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec&amp;id2=0c744ea4f77d72b3dcebb7a8f2684633ec79be88'>diff</a>)</td></tr></table>
<div class='commit-subject'>ARM: dts: orion5x-lschl: Fix model name</div><div class='commit-msg'>Model name should be consistent with legacy device file, so that user
can migrate their system from legacy device support to device-tree
safely.

Legacy device file is currently removed, but it can be found on 4.8
or previous version of linux:
  arch/arm/mach-orion5x/ls-chl-setup.c

Fixes: f94f268979a2 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc: Ashley Hughes &lt;ashley.hughes@blueyonder.co.uk&gt;
Signed-off-by: Roger Shimizu &lt;rogershimizu@gmail.com&gt;
Signed-off-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&amp;id=81917bad86a66f2bdcb12b4c10ab1bf333ed25ec'>Diffstat</a> (limited to 'include/uapi/asm-generic')</div><table summary='diffstat' class='diffstat'>