summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2020-12-02 17:16:57 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-03 12:38:45 +0300
commit3bf10ebc6d12503edb3430234341491bdc9fff09 (patch)
tree96b6c79aaf80be71e00f00a8f5669b4a6d1452bb /Documentation/driver-api
parent42ad70c469665387e8f7b53cb6d4581492dff906 (diff)
downloadlinux-3bf10ebc6d12503edb3430234341491bdc9fff09.tar.xz
media: Documentation: ccs: Rename ccs-regs.txt as ccs-regs.asc
As documentation used to be in .txt files before converting to ReST, rename ccs-regs.txt to avoid it being taken as documentation that pre-dates ReST conversion and so target for further conversion to ReST. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/media/drivers/ccs/ccs-regs.asc (renamed from Documentation/driver-api/media/drivers/ccs/ccs-regs.txt)0
-rw-r--r--Documentation/driver-api/media/drivers/ccs/ccs.rst4
-rwxr-xr-xDocumentation/driver-api/media/drivers/ccs/mk-ccs-regs4
3 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/driver-api/media/drivers/ccs/ccs-regs.txt b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
index 93f0131aa304..93f0131aa304 100644
--- a/Documentation/driver-api/media/drivers/ccs/ccs-regs.txt
+++ b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
diff --git a/Documentation/driver-api/media/drivers/ccs/ccs.rst b/Documentation/driver-api/media/drivers/ccs/ccs.rst
index 9164c9fa8b42..f49e971f2d92 100644
--- a/Documentation/driver-api/media/drivers/ccs/ccs.rst
+++ b/Documentation/driver-api/media/drivers/ccs/ccs.rst
@@ -59,7 +59,7 @@ effect in device timing and likely also in power consumption.
Register definition generator
-----------------------------
-The ccs-regs.txt file contains MIPI CCS register definitions that are used
+The ccs-regs.asc file contains MIPI CCS register definitions that are used
to produce C source code files for definitions that can be better used by
programs written in C language. As there are many dependencies between the
produced files, please do not modify them manually as it's error-prone and
@@ -77,6 +77,6 @@ definitions:
-e drivers/media/i2c/ccs/ccs-regs.h \
-L drivers/media/i2c/ccs/ccs-limits.h \
-l drivers/media/i2c/ccs/ccs-limits.c \
- -c Documentation/driver-api/media/drivers/ccs/ccs-regs.txt
+ -c Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
**Copyright** |copy| 2020 Intel Corporation
diff --git a/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs b/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs
index 3d6a2a7aac3a..6668deaf2f19 100755
--- a/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs
+++ b/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs
@@ -5,7 +5,7 @@
use Getopt::Long qw(:config no_ignore_case);
use File::Basename;
-my $ccsregs = "ccs-regs.txt";
+my $ccsregs = "ccs-regs.asc";
my $header;
my $regarray;
my $limitc;
@@ -27,7 +27,7 @@ if (defined $help) {
print <<EOH
$0 - Create CCS register definitions for C
-usage: $0 -c ccs-regs.txt -e header -r regarray -l limit-c -L limit-header [-k]
+usage: $0 -c ccs-regs.asc -e header -r regarray -l limit-c -L limit-header [-k]
-c ccs register file
-e header file name