| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The send path isn't the most critical and optimizing here
is hard for little return. Also on systems like Romulus where
both clk and data are in the same GPIO register, we already
don't need the test for value change since we use a single
write to write both value and clock.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
| |
bset/bclk instructions are shorter when using a register,
this results in a small perf. improvement.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
| |
This will be used by the kernel GPIO driver to synchronize
with the CF when accessing GPIO shared with FSI.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Break sends a break command. It has 16000 recovery cycles as
per the existing GPIO based driver, though that might be
unnecessary in practice.
"idle clocks" sends up to 255 clocks with data line held high,
and can be used to flush things out for example after changing
the send delay, or before sending a DPOLL command as some CFAMs
seem to require extra clocks there.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
Change to use the C preprocessor (use the ARM one for that) for
asm files so we can force-include a per-machine GPIO definition
file and use some preprocessor macros to define the cache registers.
This allows us to deal with the cases where the clock and data
use a different cache vs. the same cache.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|