Skip to content

Commit

Permalink
media: Documentation: ccs: Fix the op_pll_multiplier address
Browse files Browse the repository at this point in the history
According to the CCS spec the op_pll_multiplier address is 0x030e,
not 0x031e.

Signed-off-by: Bernhard Wimmer <be.wimm@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Bernhard Wimmer authored and Mauro Carvalho Chehab committed Jun 2, 2021
1 parent dc794d3 commit caad794
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/driver-api/media/drivers/ccs/ccs-regs.asc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ pll_multiplier 0x0306 16
op_pix_clk_div 0x0308 16
op_sys_clk_div 0x030a 16
op_pre_pll_clk_div 0x030c 16
op_pll_multiplier 0x031e 16
op_pll_multiplier 0x030e 16
pll_mode 0x0310 8
- f 0 0
- e single 0
Expand Down
5 changes: 3 additions & 2 deletions Documentation/driver-api/media/drivers/ccs/mk-ccs-regs
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,14 @@ $uc_header =~ s/[^A-Z0-9]/_/g;

my $copyright = "/* Copyright (C) 2019--2020 Intel Corporation */\n";
my $license = "SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause";
my $note = "/*\n * Generated by $0;\n * do not modify.\n */\n";

for my $fh ($A, $LC) {
print $fh "// $license\n$copyright\n" if defined $fh;
print $fh "// $license\n$copyright$note\n" if defined $fh;
}

for my $fh ($H, $LH) {
print $fh "/* $license */\n$copyright\n";
print $fh "/* $license */\n$copyright$note\n";
}

sub bit_def($) {
Expand Down

0 comments on commit caad794

Please sign in to comment.