From patchwork Tue Nov 22 10:21:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 24257 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2119529wrr; Tue, 22 Nov 2022 02:26:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf68lfM592ljRAGpugkzLL0QmMDMGn+ZEzTAqG9xtnfXyClOZFKxJlAzqf1iiFBo8vHAaBRi X-Received: by 2002:a17:906:c56:b0:78d:b8ab:9a5a with SMTP id t22-20020a1709060c5600b0078db8ab9a5amr19303774ejf.454.1669112808819; Tue, 22 Nov 2022 02:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669112808; cv=none; d=google.com; s=arc-20160816; b=T5LGWJQy0Jm1H2ANejguB784HP6+XIvrJftW/dnJPoRALneWyTIiL6JTR6ZfYxaxPT z+sDm6xQHpC1sEObJZ7CSJu5l0Va0wxNoOuHJC7sx6w5+E535SS/oJna19iBv6suci1D KU9ru8xjye7Xoby8Yg4VOfPi4T5ALdg8fL1X1REPr4/p0LCE6Z70Ozp9ZJVRgEHPYVPS mYYUuV56qvtfui8aGVsFdtayi3VKYYUhHCadDNf+RSkuDmVv4eF1vmGLwbSwb1aAtUyk 3dKi5z3X4KF+CsX0gkTZ9fWViAzu5bPiHvhBdSNJHvL5WLHvan2CSQCbRZuwIzyBLqpy zMrg== 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=vc3gujY/7p59/KVmOU20LtYi9Hjn3PuSiOjKX/2tRLeI0zlDHI3jO/oOBe7hMCoPpP aiGJkq2FN+/iWGDkyfgy2Wltg8Gfhm4ZJ7M3nsg6cfm5BgC6u/R4saWcw2eXYEgktThD 9lY/OeG5CSn32EWzFmkUBYCvLaGKvbtB9WGTOcHodfj/SjbM8ruv8Q9fCu/iVKxNQ+oD pl8Xz5cEXN4GWE+5lh/IBA/i6yDSTqTPp9qx7CsEmNxpgvb8ogh13LwNxXFfO1ebQoz1 C32NMeAbCULuD5SO2QQE3+qBXGKWEUfjw4QfilPfAP7vu+HRFaMQhSlW4vIsLFIAIo3U zDJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=pm9vorLO; 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 p35-20020a056402502300b00461aa80dfa8si11176493eda.429.2022.11.22.02.26.25; Tue, 22 Nov 2022 02:26:48 -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=pm9vorLO; 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 S233655AbiKVKYM (ORCPT + 99 others); Tue, 22 Nov 2022 05:24:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbiKVKWM (ORCPT ); Tue, 22 Nov 2022 05:22:12 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14CCA53EE1 for ; Tue, 22 Nov 2022 02:21:56 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso14847335wme.5 for ; Tue, 22 Nov 2022 02:21:55 -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=pm9vorLOyiaAwAF9/TjFi6cTTneYhVQ8PReaGylh7jses9Q/PQ5Qikf4ZNkOz9hlA5 a975HkDG5AptKCKGw9b8S3098WCFv2s8Fpq4jCQYoLjeUYWnHlPaqUWV2FBkTMKu2Wkz 6P4TN0lJRCmeV5evy/dYN6Xh1aV4AEQwWCTNeUHFrfpFdI3RTPA1a8aEDToX7j1oGoAM Z/i68/Fw8qdfDRAeBXQSTgh7THtF4pP/NFvVWGicV0NmFanAmsyvfDT8a5Nojowbx9LG AB65Agk/Osr8EM7o5Lc2fgBjTVCwiHOhw81p/sNSRowWrXmJ/V1Dx6TM0z0boDe7+sZs VOfg== 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=NpONLLEWvAbT4b3l7nnjM88DbrLKUQrKZGgBetKYhPpVZn+SWL5jeFvfHHR6he24UE 0eG+fvy7BDwnfISm10h1rOM82/mXpfiB2U0GoQOr11AkKDMkls4xR9C4uDH3X7RgB8mW 8JZGanktgUbN7mxk6tj2GQEUyix7hhse6A/U1/zF9WvWcR7cqjWF1aaQlaOvkaFo4PkB bQP/aMJiarFcIUA0BzV51J06oThn4fWtSqFT/0cWgzq5cwpE4Uin0db4sFGkaJjCdb/U ziCqZbXa5gWk5zb7Gxy8o9EWFzCHejlhiduHsV+zQxQawdPuvcInEnK7xdXKiJ1qS7Vl pvwQ== X-Gm-Message-State: ANoB5pmQeSbZtUTc1ouEMVFMwtR/gqkADclwdnMfywkvCF9lFT5F5AM6 yMc2xUz9/RlA5mGbHLYFI3xWvg== X-Received: by 2002:a05:600c:42d2:b0:3cf:c907:a05a with SMTP id j18-20020a05600c42d200b003cfc907a05amr18855098wme.177.1669112514599; Tue, 22 Nov 2022 02:21:54 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:e011:9e81:66f1:3415]) by smtp.gmail.com with ESMTPSA id o3-20020a5d4083000000b002366e8eee11sm13432873wrp.101.2022.11.22.02.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 02:21:54 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Jiri Slaby , Srinivas Kandagatla , Vinod Koul , Alex Elder , =?utf-8?q?Ilp?= =?utf-8?q?o_J=C3=A4rvinen?= Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski , Konrad Dybcio Subject: [PATCH v2 14/15] soc: qcom-geni-se: add more symbol definitions Date: Tue, 22 Nov 2022 11:21:24 +0100 Message-Id: <20221122102125.142075-15-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221122102125.142075-1-brgl@bgdev.pl> References: <20221122102125.142075-1-brgl@bgdev.pl> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750191632414751049?= X-GMAIL-MSGID: =?utf-8?q?1750191632414751049?= From: Bartosz Golaszewski The following symbols will be used when adding support for SE DMA in the qcom geni serial driver. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- 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)