Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp175380lqt; Wed, 5 Jun 2024 23:15:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUycgBLTSx4tgYIKFbLzta7fOHI2jEBgWAXsVBOGwlmrLHkSm0JDFyqbdGw9yGVMqoIqi5sPpICYGobtvOOlORBhpLstBQEqncnHmJa2A== X-Google-Smtp-Source: AGHT+IEoKAnYJ7qUXSEfi6Chj0hGoNhb2xAAsYxrA64uhdf8Fa8OQ/byLyhGsS7bbVVkvUP6KRf4 X-Received: by 2002:a17:90a:cf03:b0:2c1:aefa:1e7f with SMTP id 98e67ed59e1d1-2c27daf6705mr4174604a91.3.1717654533368; Wed, 05 Jun 2024 23:15:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717654533; cv=pass; d=google.com; s=arc-20160816; b=Fql9qPpKJvvhpMMKXcRpHC0+XBljJBNNhJRdL5JdUJiPJeAQhIid0UYSTc0ak4qxaU M/IzWo8UeC9BYiqcckdBsOqQ+oA5OfmgX3CVeEn4KXDo9xjf1xCorS+YIYWN5+sLuRuv oTf5GEbtrpBAKmr5wJE16Gqpk+9doE/pB/i6BJiuQJ6JQBVqTzXEQflcZznaFI3nlEcs oRjxgMj6lftN4lM7TxMQZxNLjkfLZOyjYeYqAsyi1IJILzOHCGyMxXPncbw9DBbU2oRu lwHO2CIN7AIiIMtRgN2vgX8EDapiarahczPbUvGzXShOWDsGZLXW7Q99ziifqV/2G9e9 wveQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :dkim-signature:from; bh=QMXP4D7iL2Jw3xOBudLgXxOe6NslpIdO9kJBig+lh+o=; fh=iKFXggDNa1xGDlJyZiehHpQS1+M6QwtoLdUtXqSRqp0=; b=kn6p1vI+gyh2c6wRrnrhcdgw/o4lHl+QFXGf7yiiY5ajU3JcKFfybw/ZKfNsCdMqHh SkOMGiPmF1wkujYD2IjbYcTfYa3+ES83mgvUx2entsd8Ru10DwUBLjXMEnAutq4r2sXx napQKFipAnOJPod3BxrSwuYN6HjwXLlwrXksSzg2et0rV3OzxV/GW5L1fym4xLFZO7Sd /mA5YyWD60guuJJlNaJ9ZSBPSQuNG8aO5udl1hhntFX8vsVasrCtowJlA/Zh2ryNOIZ2 T5rFTglMWun18FMv68guFnEBqdf2c5YItNLsXCe4xecNxk7/fZcWhqcgr8htCfBxcKdr oBjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@eh5.me header.s=dkim header.b=lbDyrS7e; arc=pass (i=1 spf=pass spfdomain=eh5.me dkim=pass dkdomain=eh5.me dmarc=pass fromdomain=eh5.me); spf=pass (google.com: domain of linux-kernel+bounces-203642-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=eh5.me Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2806bd542si540766a91.109.2024.06.05.23.15.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 23:15:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203642-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@eh5.me header.s=dkim header.b=lbDyrS7e; arc=pass (i=1 spf=pass spfdomain=eh5.me dkim=pass dkdomain=eh5.me dmarc=pass fromdomain=eh5.me); spf=pass (google.com: domain of linux-kernel+bounces-203642-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=eh5.me Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E9361B23FF2 for ; Thu, 6 Jun 2024 06:14:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BED8F45034; Thu, 6 Jun 2024 06:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=eh5.me header.i=@eh5.me header.b="lbDyrS7e" Received: from mail.eh5.me (mail.eh5.me [45.76.111.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BE3940BF2; Thu, 6 Jun 2024 06:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.76.111.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717654438; cv=none; b=LQjdqjQNHe9KPPfA7XLq1ctME/3i36tpTLNz+iTW1NEjZp3HkWGn6H04kLWp5lueGXZfttaDVFK3bZ3iuyG79nuTI/AiIomjZ2YCrH1S41o3u1/HPpAC4A7z6LzbLxiZPzTxLnhRKI1kIrizqc1rc0+VqKL6urWqkwv/sDToeWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717654438; c=relaxed/simple; bh=1FbzqOuIUQRbo7rAgErLXS2ed9dfsCghKLThPMcoGiI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iBHLS0E7IWBSVJzdZ0/wUWgHZ2toFQ/Kxz1/GoRhLfAIAeus++gDcYNuaQ2joycbA6VPWdA6LrbT9+6Xa2anLKVEG64/sLWlYuDuzOm7r1GS54PbEXSHG7tTb7+qDGS/CrFGgQdM+PFMBNg/cw4oOjXG3a6qgtXGVb/QwyDlhs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=eh5.me; spf=pass smtp.mailfrom=eh5.me; dkim=pass (1024-bit key) header.d=eh5.me header.i=@eh5.me header.b=lbDyrS7e; arc=none smtp.client-ip=45.76.111.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=eh5.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=eh5.me From: Huang-Huang Bao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eh5.me; s=dkim; t=1717653883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=QMXP4D7iL2Jw3xOBudLgXxOe6NslpIdO9kJBig+lh+o=; b=lbDyrS7euNYKlPciL76y/GFuuUgrhivXJhlxcOe/ILAOJSbo7+JnggWVBtdD1DiRy1iUKh 1W3sfW2DYWiRCOxUBXqL9VWsP8xAGaioMRnadGlkNSeA6o4I5hBg/5ZxZgrfdwRvOXx2/a C9tUfj7OFGi3DRUcQ/ra/FCt/44myg8= To: Linus Walleij , Heiko Stuebner Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Huang-Huang Bao Subject: [PATCH 0/3] pinctrl: rockchip: fix RK3328 pinmux bits Date: Thu, 6 Jun 2024 14:04:32 +0800 Message-ID: <20240606060435.765716-1-i@mail.eh5.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The pinmux settings for RK3328 is incomplete, correct the pin bank settings and recalced mux data according to RK3328 TRM. There was a patch[1] in rockchip-linux kernel repo that cover part of missing mux settings, unfortunatly it never got into upstream kernel source. The last patch fixes an issue in rockchip_pmx_set which is general for all rockchip platforms that might cause unexpected pinmux to be set to 0. [1]: https://github.com/rockchip-linux/kernel/commit/d69af8ab6534bb28c1556076f08d2a5ab4935d95 Huang-Huang Bao (3): pinctrl: rockchip: fix RK3328 pinmux bits pinctrl: rockchip: use dedicated pinctrl type for RK3328 pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set drivers/pinctrl/pinctrl-rockchip.c | 68 ++++++++++++++++++++++++++---- drivers/pinctrl/pinctrl-rockchip.h | 1 + 2 files changed, 60 insertions(+), 9 deletions(-) base-commit: 2df0193e62cf887f373995fb8a91068562784adc -- 2.45.2