From patchwork Wed Apr 21 21:33:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Wimmer X-Patchwork-Id: 425474 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 270A0C433ED for ; Wed, 21 Apr 2021 21:34:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D69D6613DB for ; Wed, 21 Apr 2021 21:34:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243343AbhDUVed (ORCPT ); Wed, 21 Apr 2021 17:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238736AbhDUVec (ORCPT ); Wed, 21 Apr 2021 17:34:32 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B06A6C06174A for ; Wed, 21 Apr 2021 14:33:57 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id b38so8245860ljf.5 for ; Wed, 21 Apr 2021 14:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=FC+LhdFCfMMkIzXcuSfGlxj6pbfgcHI2K060pFmO4EI=; b=SxZgTghA0dO5SJfVtzZ4F7e3/mVhqUJ97uGQ6ONudTLBr5ZgQ27S49wDzQ/UB+K/9x m9Gt7jr5GZvArkHsdaE9uNMskDqazZIKt9dVaXxqI4XcQgjl+Ldaiy2Trw2pmxUUWIBw yKeGV4Mkhl+lYbNU4ef5+wOrhOYA09JOVAFlS80lvkEmekzGeT38nvEQGVz0exNvsT5t juqI1dfOY4DKW7+Hfp00/wf+Gm2JVG1dcHiJMmCcPzZN+GGSWZRchttEeK1C29z8SHY4 0O0BePOWj+sNnQw9qcWy7xNBKLVPX9KBEdMgJvFB4PoxE2L9JjBf2AuozFFP1o8DvEQY vspg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FC+LhdFCfMMkIzXcuSfGlxj6pbfgcHI2K060pFmO4EI=; b=S7NY19F/AgK7Cb0hs7BasujAA+706YJf7bi56B9OcKm6z0JvW8ABK2lhHM/qNFzjeF TpRmWu7xpdSOQkNDsSkbl1jATUrfKs6BdjXPMdhs5y9ljSOAyjUdTnTuhqLHU7OUPWlD cK0pH+KL6wInZJxAWf3wfnsordIGjlUsoSHUfUF622QzLVFEZclph/OZgvONhKuWbEjV o48XliANPkULj/KnMLvDBuXwMuNZz6O7ZNVtMtB/O9qCaD/lAinVFcP4occCDuq6L8TL gqkHVM5pRuyE+tbhKsBLyGtA9m4bFdhTinDIUeGgK+Pn9zF+RsNTwBWuh0omPxZRc5Ox XekQ== X-Gm-Message-State: AOAM532G7uMg1QKJhweFlMHOp/aW6o74GC2taMxaC2kPYUSwZ8YGwtFm NZJQE9x4IgFWj5xODK6ssYCib6O0HZBIw1rC X-Google-Smtp-Source: ABdhPJw6wBGidGBmYSnPW085KPTtSMRtqMAkEiRU+m7lK5fVANOwGdql2QikEHcoqQztHcg7BVTVMw== X-Received: by 2002:a2e:7019:: with SMTP id l25mr211688ljc.14.1619040836128; Wed, 21 Apr 2021 14:33:56 -0700 (PDT) Received: from localhost.localdomain (cm-84.211.29.145.getinternet.no. [84.211.29.145]) by smtp.gmail.com with ESMTPSA id u4sm78145lji.95.2021.04.21.14.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 14:33:55 -0700 (PDT) From: Bernhard Wimmer To: linux-media@vger.kernel.org Cc: sakari.ailus@iki.fi, Bernhard Wimmer Subject: [PATCH v3 1/2] media: Documentation: ccs: Fix the op_pll_multiplier address Date: Wed, 21 Apr 2021 23:33:19 +0200 Message-Id: <20210421213320.4454-1-be.wimm@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org According to the CCS spec the op_pll_multiplier address is 0x030e, not 0x031e. Signed-off-by: Bernhard Wimmer --- Changes in v3: - split into two separate commits Changes in v2: - reflow 'generated by ...' line - adjust commit message line break Documentation/driver-api/media/drivers/ccs/ccs-regs.asc | 2 +- Documentation/driver-api/media/drivers/ccs/mk-ccs-regs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc index f2042acc8a45..bbf9213c3388 100644 --- a/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc +++ b/Documentation/driver-api/media/drivers/ccs/ccs-regs.asc @@ -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 diff --git a/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs b/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs index 6668deaf2f19..2a4edc7e051a 100755 --- a/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs +++ b/Documentation/driver-api/media/drivers/ccs/mk-ccs-regs @@ -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($) {