From patchwork Sun Oct 16 15:35:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siarhei Volkau X-Patchwork-Id: 3049 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1062603wrs; Sun, 16 Oct 2022 08:37:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4UW5n5+P0DwD+kYQdAy7WTOlTZjioi0bRYWyL8aCDCTL+lVPQcb9W64QZrEL/nk1yz9GT5 X-Received: by 2002:a63:1d22:0:b0:439:3e7c:8af7 with SMTP id d34-20020a631d22000000b004393e7c8af7mr6961289pgd.78.1665934630411; Sun, 16 Oct 2022 08:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665934630; cv=none; d=google.com; s=arc-20160816; b=RE1WwNLEej+3Bb3DEUPN655HXCkN5VnkT599phXuLi7rIedHaCDTkukShUtufNIkRm cW9/aBvB2wX+zOWwfklVD3iitpGraIoz3JDmSeif+1INtlmBdrYrWl2h6nwXZi/s7cgI Cn7+RuiZm6QffXUp1oV6piWPd46z5thDV4kylSu5XNS9ub7GxI36wny9KjerFzp/Pb2D 2zCcCaoa4H0eK6uU0b0mVi0Q8AXdVkcUg1Bj2/B2LJ8D5uNe2/YFVd4xsJRxLWdZiEYF wWOHLydT0ifsr7Nu/Sw3ozpgrt6/dycwyn3hmjrOaTqu7PbNuF7CjvJo8pg7t/zSv6lN w/8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=F1OBWkds0Pt2bQp3eyvH72hH//WSRMxDqTTcvyzOiTY=; b=lh+jJRMiGmoe9sfnLvysfdhAdOiFhYhJvEJ2q/izQ1cNciaF2c0olegyd40M4XCYpW 5focDcx7Yg4lAC2pGkHBo8loB8p8GfmP4PFo5dnqcQZedNBxMO9UL2+Jt6lAViB0rSoM pHdxcwvDR6vk5+DsZqbli55Z3KuJ+Wteyizigp2VGXucP+/pLFZPosq+u9B+yUvnfksd eh4flCRhANtll7CWFOBwsfvDRnAYxxogQsmt21uGjJXDUU+jVvYlrZ11/04/A4eG/HfJ IS23wXzCRTwz+ezhCnS8XwOlp0GREhFRGKWwNfttk+LU9thIY7fbjH6og8ji/Zu5KuV7 s43g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=FShg92RL; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z5-20020aa79905000000b005638548d0a1si8800554pff.326.2022.10.16.08.36.56; Sun, 16 Oct 2022 08:37:10 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20210112 header.b=FShg92RL; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229732AbiJPPgn (ORCPT + 99 others); Sun, 16 Oct 2022 11:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbiJPPgm (ORCPT ); Sun, 16 Oct 2022 11:36:42 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5357D38A28; Sun, 16 Oct 2022 08:36:39 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id u21so12878577edi.9; Sun, 16 Oct 2022 08:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=F1OBWkds0Pt2bQp3eyvH72hH//WSRMxDqTTcvyzOiTY=; b=FShg92RLlNiJ5TafP86/L9RhuD/LgC6/Ji+XUPcUpnDAG1GL4zom52xl/dwfgyFcYY 66tf/fV19lCdjnfc6PXE3RYENXKoEuYxEFo2K6z0aK8wAiyZqWPZU5EmAznoOACigRp2 lbxWGkoMPo5M5EpjgFr3jjnblUKX4lIzZoHpUz18u5sUZAXKjadlPtN7/HaGzD98jmKv gtDwz+WBkGfUPm/qv1vUoJL13R46wq8X3TTHhBP3YTF1fDYOWfnznUi0nErrg5iRAVxY N2nKJys5wQuZlpNvA6KH/Jxr0IwaH6zdqVOxFp7E+f39t7SFwLvSa+T/rV9J48v5v0c/ Zavw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=F1OBWkds0Pt2bQp3eyvH72hH//WSRMxDqTTcvyzOiTY=; b=sh1IoDhbUg+y+LMiyHiZYmoE2qaPbpfR3zh1XSPCInSmumBbm1nV8rnB4ZWItYM790 onD/iEJ6jQgVVERlVUZNmtRTVlMLcSf/4vlQ6hsbxb+UNbVnE3sq+mbKx/ZjOiSBogJB pnpu83X5Z2tz+OtpBfPUEm0opXG0euoH8r51Ydp6T9EGC4+A7tdSY8TEjdSwfqwWHvUd QwUxH2HMdH2yymNqsuxHpm/bSjHuuNg752c1SCU5YNl9IwDqLBqBww3WpW3dVsxGTCqp c8C25Q2Y4GUztNiOnc7XUjYXubkYVTftBoFlLK2h6lUpBZ1oA1Wrv9SKqL/pD8S+wJpx P5Jw== X-Gm-Message-State: ACrzQf0y1D9Iuk/TgnQ0VlJeU62rsRFxsEdEYcZVdwvyCPQW9D8aWTAR 5lPIqBYSadMTo7xZwR00AIU4rfaZ8USqxA== X-Received: by 2002:a05:6402:f96:b0:459:4180:6cf4 with SMTP id eh22-20020a0564020f9600b0045941806cf4mr6565731edb.64.1665934597066; Sun, 16 Oct 2022 08:36:37 -0700 (PDT) Received: from hp-power-15.localdomain (mm-39-7-212-37.vitebsk.dynamic.pppoe.byfly.by. [37.212.7.39]) by smtp.gmail.com with ESMTPSA id y16-20020a056402359000b004589da5e5cesm5758781edc.41.2022.10.16.08.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 08:36:36 -0700 (PDT) From: Siarhei Volkau Cc: stable@vger.kernel.org, Siarhei Volkau , Paul Cercueil , Linus Walleij , linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] pinctrl: Ingenic: JZ4755 bug fixes Date: Sun, 16 Oct 2022 18:35:48 +0300 Message-Id: <20221016153548.3024209-1-lis8215@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) 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?1746859070637923205?= X-GMAIL-MSGID: =?utf-8?q?1746859070637923205?= Fixes UART1 function bits and MMC groups typo. For pins 0x97,0x99 function 0 is designated to PWM3/PWM5 respectively, function is 1 designated to the UART1. Diff from v1: - sent separately - added tag Fixes Fixes: b582b5a434d3 ("pinctrl: Ingenic: Add pinctrl driver for JZ4755.") Tested-by: Siarhei Volkau Signed-off-by: Siarhei Volkau --- drivers/pinctrl/pinctrl-ingenic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c index 3a9ee9c8a..2991fe0bb 100644 --- a/drivers/pinctrl/pinctrl-ingenic.c +++ b/drivers/pinctrl/pinctrl-ingenic.c @@ -667,7 +667,7 @@ static u8 jz4755_lcd_24bit_funcs[] = { 1, 1, 1, 1, 0, 0, }; static const struct group_desc jz4755_groups[] = { INGENIC_PIN_GROUP("uart0-data", jz4755_uart0_data, 0), INGENIC_PIN_GROUP("uart0-hwflow", jz4755_uart0_hwflow, 0), - INGENIC_PIN_GROUP("uart1-data", jz4755_uart1_data, 0), + INGENIC_PIN_GROUP("uart1-data", jz4755_uart1_data, 1), INGENIC_PIN_GROUP("uart2-data", jz4755_uart2_data, 1), INGENIC_PIN_GROUP("ssi-dt-b", jz4755_ssi_dt_b, 0), INGENIC_PIN_GROUP("ssi-dt-f", jz4755_ssi_dt_f, 0), @@ -721,7 +721,7 @@ static const char *jz4755_ssi_groups[] = { "ssi-ce1-b", "ssi-ce1-f", }; static const char *jz4755_mmc0_groups[] = { "mmc0-1bit", "mmc0-4bit", }; -static const char *jz4755_mmc1_groups[] = { "mmc0-1bit", "mmc0-4bit", }; +static const char *jz4755_mmc1_groups[] = { "mmc1-1bit", "mmc1-4bit", }; static const char *jz4755_i2c_groups[] = { "i2c-data", }; static const char *jz4755_cim_groups[] = { "cim-data", }; static const char *jz4755_lcd_groups[] = {