Message ID | 20221123110759.1836666-13-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2724312wrr; Wed, 23 Nov 2022 03:14:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf44gsufcuWMSMLvkDOs78UYddugmoYFhhcq96ha4gxadKC/g701DQETesVVGgAKhCyMf15a X-Received: by 2002:a17:906:16d4:b0:7b9:f0fd:47b1 with SMTP id t20-20020a17090616d400b007b9f0fd47b1mr1885572ejd.462.1669202093717; Wed, 23 Nov 2022 03:14:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669202093; cv=none; d=google.com; s=arc-20160816; b=Io1b9HDP1SFLIw0/5ygmpnUGtk0UwD24lqdSfg8tUcM8z6rbHYu7g07hwu0WVVIGl5 xULw2CT2LjjZm8zAaq4AJLn0WuWtH4YL8CfAKBaL6YA/NwcuDML7/MWAlcmgpKURBZSQ +I+FsxZZF4hZdQh3NspM/sEXZik4WHLmC8STdJ0H+DyTU/gWNsfMuE2ekK9vMhElcxvu 1hPJbxvaVgk6JKdakBvxHQGzBJIb/shfnLkEyXhrCDIjKfttLocsa/abxlT+BMyFb0sD sDqDZm04Y6G7f6nnNV+AcTiXVyjOdtU1Mwz6UP7+xeJVek9WWJuYLvwb160rAshDPTvP dFCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LuwEN90AtgG+bvIlYhOJ4Y3TdxahsORXGOntfwKDvGM=; b=BPj+adiGfdpltyowL8x9TeZbtegNiKtF6cwagYkfZ5ZbBaiwUxI2sons/6acLh2Ysw eVbB5bx2zjOgwvVG5pj+OIBAfrlrr85AYdwvlJR34GIBoya/XhZnTC0rV84SQicuJyTW WIzLAiwzhzsUYKyCqcj0C6l54Ig2jn8yjHiNpIKCOUCJAplcOZ67OYtv4Ajz0YAXyHGi HC860feiNdMGwZZlxYu1AFhTxdsjF0IUOKgYNSOhRuHlh7fA22vKB1IRbP3o2NIJOm8v UB5bCsCywiv19HcxwTjhGt+MaEgCb6koOlEAAM1xoLIx0V3+j7kSJ1QZgwwIXFC23hYZ HxaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="cdSOdHs/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u21-20020a1709064ad500b0078cc4a8a956si11199614ejt.881.2022.11.23.03.14.28; Wed, 23 Nov 2022 03:14:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="cdSOdHs/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236740AbiKWLJ4 (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Wed, 23 Nov 2022 06:09:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237662AbiKWLIf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 06:08:35 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911A5B70F9 for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 03:08:17 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id r9-20020a1c4409000000b003d02dd48c45so829779wma.0 for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 03:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LuwEN90AtgG+bvIlYhOJ4Y3TdxahsORXGOntfwKDvGM=; b=cdSOdHs/KjSXHF/Ujb2s5z+xgIIMYtfWXWH133hqVTHYeWnQHOkZG77vID1B8el//j chFMWYMzu34/MUdQwHaNqmA3d4LuFlAe2JvqerDJ1nxFk+xZgQKZQ0B6cRp/LfoCs9LV 4Iq4L6IfDba925iFhsyOKoxymTbrvWGTdg+GNwlhSPTQgiVMAU0u+EM33F/TRQ/AoO3m 6VyMhf96Pc8WNqSwa6ZhpqZhre2zigBwbHdKajgI0TLs/7saALPyO0Qnei5sM8pHk0qH f+okl74ptDebMSMo9yAT29/Gbxx8pPuZ3xTpW/j0+gLVdMdOcyr4sCVrPsFWvl162j5v OCBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LuwEN90AtgG+bvIlYhOJ4Y3TdxahsORXGOntfwKDvGM=; b=0QzrmeKrqCaW2FZ6/SMm3m8mEXuLbOOWW7MM9WdBunyid1Mj5H4Mo7qNQAqmoiYQ20 5XntVyDnBEnKjXpt7ucmJw3yIBJn7of80aCtk5OBTx7MigIilfaC3I6YMjs2Y4QVNKX1 KT4so7S02uE/Ekiy36RDu5o83W60b9bcYpIJgztH3DF0Z4QbT4MWQ6Sb+9VKJJs6f0O+ 57DGbSoUvOgOeh9uuNxmanbJxPBp99ewlrXDMVcpNhPvqXt3+ot7mfvHDCVsK/yIl3uI ddugUwGFmcTaYCoOmF6Q5VebVgWKlLeYWaCloQ4drGiOrsG7bRyOaJDa4tU0swolKM0r Bopw== X-Gm-Message-State: ANoB5plLipnMM/JU76xB4CFAEr+AaDBxRCwduRWkOFysfvTnKv7nQBO0 RCZC6lnr9jrQRpiuEjcnqvMwMQ== X-Received: by 2002:a7b:c4d8:0:b0:3cf:b0ed:de9d with SMTP id g24-20020a7bc4d8000000b003cfb0edde9dmr7243730wmk.188.1669201696131; Wed, 23 Nov 2022 03:08:16 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:ae74:d94f:4677:3378]) by smtp.gmail.com with ESMTPSA id f13-20020a05600c4e8d00b003c6c182bef9sm2560406wmq.36.2022.11.23.03.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 03:08:15 -0800 (PST) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Vinod Koul <vkoul@kernel.org>, Alex Elder <elder@kernel.org>, =?utf-8?q?Ilp?= =?utf-8?q?o_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v3 12/13] soc: qcom-geni-se: add more symbol definitions Date: Wed, 23 Nov 2022 12:07:58 +0100 Message-Id: <20221123110759.1836666-13-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221123110759.1836666-1-brgl@bgdev.pl> References: <20221123110759.1836666-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750285254487520825?= X-GMAIL-MSGID: =?utf-8?q?1750285254487520825?= |
Series |
serial: qcom-geni-serial: implement support for SE DMA
|
|
Commit Message
Bartosz Golaszewski
Nov. 23, 2022, 11:07 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> The following symbols will be used when adding support for SE DMA in the qcom geni serial driver. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- include/linux/qcom-geni-se.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h index f5672785c0c4..400213daa461 100644 --- a/include/linux/qcom-geni-se.h +++ b/include/linux/qcom-geni-se.h @@ -103,6 +103,7 @@ struct geni_se { #define SE_DMA_TX_FSM_RST 0xc58 #define SE_DMA_RX_IRQ_STAT 0xd40 #define SE_DMA_RX_IRQ_CLR 0xd44 +#define SE_DMA_RX_LEN_IN 0xd54 #define SE_DMA_RX_FSM_RST 0xd58 #define SE_HW_PARAM_0 0xe24 #define SE_HW_PARAM_1 0xe28 @@ -235,6 +236,8 @@ struct geni_se { #define RX_SBE BIT(2) #define RX_RESET_DONE BIT(3) #define RX_FLUSH_DONE BIT(4) +#define RX_DMA_PARITY_ERR BIT(5) +#define RX_DMA_BREAK GENMASK(8, 7) #define RX_GENI_GP_IRQ GENMASK(10, 5) #define RX_GENI_CANCEL_IRQ BIT(11) #define RX_GENI_GP_IRQ_EXT GENMASK(13, 12)