Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp969222rdh; Fri, 27 Oct 2023 00:17:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+efBq0bI93lreeb/2rA4JynAWQlORTPezvFxHwqUvMuLQIBODd0A/ZidL6jjnasgLj1y6 X-Received: by 2002:aca:f11:0:b0:3ae:5442:ed1b with SMTP id 17-20020aca0f11000000b003ae5442ed1bmr1690210oip.43.1698391050897; Fri, 27 Oct 2023 00:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698391050; cv=none; d=google.com; s=arc-20160816; b=kJhdYteG1b33LUpYnBbdEAK49OT9bCBzJlme2GCCjCjAaBAZvL9QB536pKK9hqrEe9 q0ytlZgaGlapO9W1ZGZ1oM7Llin3CSMg+N6oi/FFD/dkdn2Pq8+W6MOj0wi9fW8mhPa5 RhJ0Wwq0qjwPTo2w0JLuaNY5rncBtFIQgtFYArUKNDFa4VBS2Qn7p2frWHzwmeteEpL5 bqduONrUQfed7Z/H50BpS96zfg6AD+8bmSRt9qlcmu27eIiHv7RMoq0kkPaIrkY0Heb8 uT81BumAqZvCvHdf9XHHp0voq0aBiZgoj3Zsosei8RkyNoLlNpUFuC2H2hSEr0OOCGyy NWCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=R6uw2vY3I1VaTJxKBhLsJg2dgRfXMV9JovP/ATeQq0A=; fh=8fAFyFmOyqu536u901Eez8r3VqG3E27QOxhWT2Nd7u0=; b=zZyDPRsyBSI1JDrCiRW04DuPzd2Efvp+dUvmAMMgCvPWd06Y77jaFm3y7ZGVPG49e/ uj7HLG1uzECf+lnE4RESfFEKH0yD6/IBpi0EJ8mK4uMyG3Bn+E+wQnmymVYf3wrIhSd6 McK3lprppoNOs7OwMHO4NFI4oT3IVirJGpfGb8nU5ip+bx7fUtqg8JiOqKcyYiPVqEa7 zKsWjxAGkfKBMQE7K3mO1kJ1EfLmLT+BEK9vgsf3emVRXkd1Vg8aaDZLOiHQxAIo0Ss/ rhV9GfFkst5Wvohbk1X6+w5UErnvv3g2ZvWnMV63ZHIq+qlXZu8Ho+KYjGuoGy5BmdwE tuGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e9-20020a255009000000b00da0b6904d15si1815717ybb.284.2023.10.27.00.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 00:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7DD56827C19B; Fri, 27 Oct 2023 00:16:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345429AbjJ0HQb (ORCPT + 99 others); Fri, 27 Oct 2023 03:16:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345406AbjJ0HQ0 (ORCPT ); Fri, 27 Oct 2023 03:16:26 -0400 Received: from SHSQR01.spreadtrum.com (unknown [222.66.158.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E25BD5F for ; Fri, 27 Oct 2023 00:16:17 -0700 (PDT) Received: from dlp.unisoc.com ([10.29.3.86]) by SHSQR01.spreadtrum.com with ESMTP id 39R7EkGw002735; Fri, 27 Oct 2023 15:14:46 +0800 (+08) (envelope-from linhua.xu@unisoc.com) Received: from SHDLP.spreadtrum.com (shmbx04.spreadtrum.com [10.0.1.214]) by dlp.unisoc.com (SkyGuard) with ESMTPS id 4SGv201Kygz2L6nms; Fri, 27 Oct 2023 15:10:16 +0800 (CST) Received: from xm9614pcu.spreadtrum.com (10.13.2.29) by shmbx04.spreadtrum.com (10.0.1.214) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Fri, 27 Oct 2023 15:14:45 +0800 From: Linhua Xu To: Linus Walleij CC: Orson Zhai , Baolin Wang , Chunyan Zhang , , , Andy Shevchenko , lh xu , Linhua Xu , Zhirong Qiu , Xiongpeng Wu Subject: [PATCH V3 0/6] pinctrl: sprd: Modification of UNIOC Platform pinctrl Driver Date: Fri, 27 Oct 2023 15:14:20 +0800 Message-ID: <20231027071426.17724-1-Linhua.xu@unisoc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.13.2.29] X-ClientProxiedBy: SHCAS03.spreadtrum.com (10.0.1.207) To shmbx04.spreadtrum.com (10.0.1.214) X-MAIL: SHSQR01.spreadtrum.com 39R7EkGw002735 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 00:16:39 -0700 (PDT) From: Linhua Xu Recently, some bugs have been discovered during use, and patch1 and patch2 are bug fixes. Also, this patchset add new features: patch3 is for compatibility with more platforms, patch4 Increase the range of register values, patch5 add pinctrl support for UMS512, patch6 add pinctrl support for UMS9621. change in V3 -Add platform structure -Add the mask definition -Modify register definition format -Improve code readability -Add fixes tag Linhua Xu (6): pinctrl: sprd: Modify pull-up parameters pinctrl: sprd: Fix the incorrect mask and shift definition pinctrl: sprd: Move common and misc offset parameters to private data pinctrl: sprd: Increase the range of register values pinctrl: sprd: Add pinctrl support for UMS512 pinctrl: sprd: Add pinctrl support for UMS9621 drivers/pinctrl/sprd/Kconfig | 22 + drivers/pinctrl/sprd/Makefile | 2 + drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c | 12 +- drivers/pinctrl/sprd/pinctrl-sprd-ums512.c | 881 +++++++++++++++ drivers/pinctrl/sprd/pinctrl-sprd-ums9621.c | 1120 +++++++++++++++++++ drivers/pinctrl/sprd/pinctrl-sprd.c | 35 +- drivers/pinctrl/sprd/pinctrl-sprd.h | 49 +- 7 files changed, 2087 insertions(+), 34 deletions(-) create mode 100644 drivers/pinctrl/sprd/pinctrl-sprd-ums512.c create mode 100644 drivers/pinctrl/sprd/pinctrl-sprd-ums9621.c -- 2.17.1