linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Clean up CCS register file a little
@ 2020-12-02 14:22 Sakari Ailus
  2020-12-02 14:22 ` [PATCH 1/2] Documentation: ccs: Rename ccs-regs.txt as ccs-regs.asc Sakari Ailus
  2020-12-02 14:22 ` [PATCH 2/2] Documentation: ccs: Reorder SPDX and copyright notice lines Sakari Ailus
  0 siblings, 2 replies; 3+ messages in thread
From: Sakari Ailus @ 2020-12-02 14:22 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab

Hi all,

This small set addresses two remaining review comments regarding the CCS
register file. The file is renamed as ccs-regs.asc and the SPDX tag line
is moved first in the file.

Sakari Ailus (2):
  Documentation: ccs: Rename ccs-regs.txt as ccs-regs.asc
  Documentation: ccs: Reorder SPDX and copyright notice lines

 .../media/drivers/ccs/{ccs-regs.txt => ccs-regs.asc}          | 2 +-
 Documentation/driver-api/media/drivers/ccs/ccs.rst            | 4 ++--
 Documentation/driver-api/media/drivers/ccs/mk-ccs-regs        | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename Documentation/driver-api/media/drivers/ccs/{ccs-regs.txt => ccs-regs.asc} (100%)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] Documentation: ccs: Rename ccs-regs.txt as ccs-regs.asc
  2020-12-02 14:22 [PATCH 0/2] Clean up CCS register file a little Sakari Ailus
@ 2020-12-02 14:22 ` Sakari Ailus
  2020-12-02 14:22 ` [PATCH 2/2] Documentation: ccs: Reorder SPDX and copyright notice lines Sakari Ailus
  1 sibling, 0 replies; 3+ messages in thread
From: Sakari Ailus @ 2020-12-02 14:22 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab

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>
---
 .../media/drivers/ccs/{ccs-regs.txt => ccs-regs.asc}          | 0
 Documentation/driver-api/media/drivers/ccs/ccs.rst            | 4 ++--
 Documentation/driver-api/media/drivers/ccs/mk-ccs-regs        | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename Documentation/driver-api/media/drivers/ccs/{ccs-regs.txt => ccs-regs.asc} (100%)

diff --git a/Documentation/driver-api/media/drivers/ccs/ccs-regs.txt b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
similarity index 100%
rename from Documentation/driver-api/media/drivers/ccs/ccs-regs.txt
rename to 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
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Documentation: ccs: Reorder SPDX and copyright notice lines
  2020-12-02 14:22 [PATCH 0/2] Clean up CCS register file a little Sakari Ailus
  2020-12-02 14:22 ` [PATCH 1/2] Documentation: ccs: Rename ccs-regs.txt as ccs-regs.asc Sakari Ailus
@ 2020-12-02 14:22 ` Sakari Ailus
  1 sibling, 0 replies; 3+ messages in thread
From: Sakari Ailus @ 2020-12-02 14:22 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab

Move the SPDX tag to the top, placing the copyright notice after that.
This aligns the file with existing practices.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 Documentation/driver-api/media/drivers/ccs/ccs-regs.asc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
index 93f0131aa304..f2042acc8a45 100644
--- a/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
+++ b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
@@ -1,5 +1,5 @@
-# Copyright (C) 2019--2020 Intel Corporation
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
+# Copyright (C) 2019--2020 Intel Corporation
 
 # register				rflags
 # - f	field	LSB	MSB		rflags
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-02 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 14:22 [PATCH 0/2] Clean up CCS register file a little Sakari Ailus
2020-12-02 14:22 ` [PATCH 1/2] Documentation: ccs: Rename ccs-regs.txt as ccs-regs.asc Sakari Ailus
2020-12-02 14:22 ` [PATCH 2/2] Documentation: ccs: Reorder SPDX and copyright notice lines Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).