From patchwork Thu Dec 17 02:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Billy Tsai X-Patchwork-Id: 11979021 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=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 17438C4361B for ; Thu, 17 Dec 2020 02:52:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A0E3723405 for ; Thu, 17 Dec 2020 02:52:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A0E3723405 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aspeedtech.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jk8WCo+IWPi6hhNKr7WQe+QZAYPv/36PcsxmuYzJHD8=; b=A621t+0bPydnydLftNnIx0/JY dDBiuO+0K2jqW7mYkPN+ZLc0N7YHEjYpGKHObSlz1Q4GYAbTMHCUsN9G3OXLsqnB54YOT48GKgKMq J3EJg7Js3ZeySfh1mfsoyESN3TqfIyvalFTMMcaD3SWwf9+uIfuVWXcuIZOxbj8tIvxsx2MnB7tOo guOKtWYUxL2fBqY9r3bSF8RHPJOBu3R2lfu2b1nEFMB2aXKCKFgNAMsLb9VKlDT+yuVJT866VfAVA Ql70ZXvbjp5WWP+4rew1dCd95vHXYkfDdLJfV1J4EEV9N3BOgvnJzI2jCXsn4FPmTz4AFWNF9azp5 63fg/xVkQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpjNL-0004La-UY; Thu, 17 Dec 2020 02:50:43 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpjNK-0004LR-MI for linux-arm-kernel@merlin.infradead.org; Thu, 17 Dec 2020 02:50:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=oFU+AqXqC5jhha16HSZvSMfABk1W726YR/u2qboTCWw=; b=flALStKzSX5TkTC5tSDxNY6gY5 Hs91BMOOAAhMcNBFRLxACiTk/pGpDQMPAwaLcTAmc/v/9re292FSG5yj6b09Qu0pKTypHgqZjUs7i Yf5KJSxbL40wnXBv12bxIni73aclXYRMw4gipXa4hxMtOK49c2mqA7sB15pe6erZwbA5fRdCzpAhQ 1wmHQmG9ftpwLLAHdAOc3kwrOEFnzHrupMLHIZjcSH6obYSdxdfGowIpvZBJK4Q5GfK+CeP8W8ZK4 qwPECCyvkoOw1y69LMxU9nDIiyj5wz9A3wxaeh9fS2QzPwm8TKG8z4Vs/hDdZL/IP/dJhRdwrgbhn mHkK4kZQ==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpjNG-0000CR-2i for linux-arm-kernel@lists.infradead.org; Thu, 17 Dec 2020 02:50:41 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 0BH2k1jh041831; Thu, 17 Dec 2020 10:46:01 +0800 (GMT-8) (envelope-from billy_tsai@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 17 Dec 2020 10:49:21 +0800 From: Billy Tsai To: , , , , , , , Subject: [PATCH v3] driver: aspeed: g6: Fix PWMG0 pinctrl setting Date: Thu, 17 Dec 2020 10:49:12 +0800 Message-ID: <20201217024912.3198-1-billy_tsai@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <1e823780-b1ef-42dd-bb60-321b4d482d31@www.fastmail.com> References: <1e823780-b1ef-42dd-bb60-321b4d482d31@www.fastmail.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 0BH2k1jh041831 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201217_025038_738485_3C437CA9 X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: BMC-SW@aspeedtech.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SCU offset for signal PWM8 in group PWM8G0 is wrong, fix it from SCU414 to SCU4B4. Signed-off-by: Billy Tsai Reviewed-by: Joel Stanley Reviewed-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c b/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c index b673a44ffa3b..aa53e9d3489b 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c @@ -367,7 +367,7 @@ FUNC_GROUP_DECL(RMII4, F24, E23, E24, E25, C25, C24, B26, B25, B24); #define D22 40 SIG_EXPR_LIST_DECL_SESG(D22, SD1CLK, SD1, SIG_DESC_SET(SCU414, 8)); -SIG_EXPR_LIST_DECL_SEMG(D22, PWM8, PWM8G0, PWM8, SIG_DESC_SET(SCU414, 8)); +SIG_EXPR_LIST_DECL_SEMG(D22, PWM8, PWM8G0, PWM8, SIG_DESC_SET(SCU4B4, 8)); PIN_DECL_2(D22, GPIOF0, SD1CLK, PWM8); GROUP_DECL(PWM8G0, D22);