From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 634FAC5AD4C for ; Thu, 16 Nov 2023 15:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G4WPBOAYuuhko0Y6M3IXgXNK+nZnATlLRGyyL2m2yR0=; b=Zgqqa73uimyjQt rQDKcI5DQrFLK13tnyPjdUCPaXJ0mORvHIOUlUSUNNajF7elAcnqBAVNjFi1bd5rfOWFkpFFb6rD4 wsoVDcUpgaCWvORr9iaAJ0nsr2BrKrd3zhotIS4dePVIiJOesYseC8FPKHzfa3b51x3+Eat4abanP jmzuM/ZBh8ozUo01IUdcjxx3mlE+7bBVXLR/kpeGHlD2U1O0uceoKbyf+jjrzRvxRzuMFteb602qL Dj1r9PKSmE+bZEYgRWWnui15pD/U5tGLCizd4ZQ+BadcrxngzNIq5AyA0fdLYG89IkT5fyEFewI7z ftPjMZa5k575YNo20HzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r3ebk-003rJo-2P; Thu, 16 Nov 2023 15:48:44 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r3ebY-003r9p-1K; Thu, 16 Nov 2023 15:48:33 +0000 Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: andrzej.p) by madras.collabora.co.uk (Postfix) with ESMTPSA id 5638A6607377; Thu, 16 Nov 2023 15:48:30 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700149711; bh=4cgLKTgnVvYWRE/faVahndrRcA5UJbNrZ9b/DGo2+3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=etCEYydZA2yxC3PIsk2+nUDQofJiiZUNeIKweun2Fe1TgNzSxuQtKBYgN/xIFCyxK LwT2D0+u4yvJdNFEvnV1gI2mTy17gGqlPuSCealHhBEKlGh0x4mQH+iIcI6N93FwcO uExFhkYsZ6Mu5Cy3GHLeexxea74Cs+8w4ej6rIw+Zx/6RJoFAAPJD64wWTrsVVQAFV QdWqVLgZAUEFPvaXseelAUkczkIw1GjcvDWVoVRVPI6cvuvCZzv8es3eFj8qUL/pJc prsnNwcMce4i5hWxAsKoYe3QNWpT8zQD5DmoLynPoT231EYmsBWN/LNv09rTd9MqhF FuXv6uX2yt7sw== From: Andrzej Pietrasiewicz To: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Cc: Hugues Fruchet , Alexandre Torgue , Andrzej Pietrasiewicz , Benjamin Gaignard , Daniel Almeida , Ezequiel Garcia , Hans Verkuil , Mauro Carvalho Chehab , Maxime Coquelin , Nicolas Dufresne , Philipp Zabel , kernel@collabora.com Subject: [RFC 4/6] media: verisilicon: Update H1 register definitions Date: Thu, 16 Nov 2023 16:48:14 +0100 Message-Id: <20231116154816.70959-5-andrzej.p@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231116154816.70959-1-andrzej.p@collabora.com> References: <20231116154816.70959-1-andrzej.p@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231116_074832_580075_7F17A0ED X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add definition of register at offset 0x00c. Signed-off-by: Andrzej Pietrasiewicz --- drivers/media/platform/verisilicon/hantro_h1_regs.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/media/platform/verisilicon/hantro_h1_regs.h b/drivers/media/platform/verisilicon/hantro_h1_regs.h index c1c66c934a24..efb46da23eab 100644 --- a/drivers/media/platform/verisilicon/hantro_h1_regs.h +++ b/drivers/media/platform/verisilicon/hantro_h1_regs.h @@ -23,6 +23,15 @@ #define H1_REG_AXI_CTRL_INPUT_SWAP32 BIT(2) #define H1_REG_AXI_CTRL_OUTPUT_SWAP8 BIT(1) #define H1_REG_AXI_CTRL_INPUT_SWAP8 BIT(0) +#define H1_REG_DEVICE_CTRL 0x00c +#define H1_REG_DEVICE_CTRL_SCALE_OUTPUT_SWAP8 BIT(27) +#define H1_REG_DEVICE_CTRL_SCALE_OUTPUT_SWAP16 BIT(26) +#define H1_REG_DEVICE_CTRL_SCALE_OUTPUT_SWAP32 BIT(25) +#define H1_REG_DEVICE_CTRL_MV_OUTPUT_SWAP8 BIT(24) +#define H1_REG_DEVICE_CTRL_MV_OUTPUT_SWAP16 BIT(23) +#define H1_REG_DEVICE_CTRL_MV_OUTPUT_SWAP32 BIT(22) +#define H1_REG_DEVICE_CTRL_INPUT_READ_1MB BIT(21) +#define H1_REG_DEVICE_CTRL_AXI_DUAL_CHANNEL BIT(20) #define H1_REG_ADDR_OUTPUT_STREAM 0x014 #define H1_REG_ADDR_OUTPUT_CTRL 0x018 #define H1_REG_ADDR_REF_LUMA 0x01c -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel