Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp520087rdb; Mon, 15 Jan 2024 05:08:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IESZ9c0NvZPsE6Fce4WEQkNtzy98jlZQbHR6kv0vNSJMgW6eiJ0+4ZWOGHRwnNywktc9EWy X-Received: by 2002:a05:622a:4cf:b0:429:ca52:c7fc with SMTP id q15-20020a05622a04cf00b00429ca52c7fcmr8055743qtx.43.1705324112440; Mon, 15 Jan 2024 05:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705324112; cv=none; d=google.com; s=arc-20160816; b=A11pnBVkdPjlxXVbYMM6RxCcjhc7C6h1t9DoQLROUIylySIfpq55KY8i4hrFG0o3if D8pw58bpuMZl5AhWzeZfaaYMOs0WJpoZLGEF8nkW6VcSEowW9eJWgPc6ibLqiKojm4/S D2sEqWioV3D5OD+wmzVSbqqhME7sB8rKBuq3TEuImHCjD5NR+j5WoyXa/f1ehyGxZ8sg CjJceo9cfh2eQRvGu19+MxlfiuXmm+5gKVe1JKfQ3qW1QzBPYF2qONk//9jybN3iPEaU k76ejlDlh32YrE/5aiMA2dWrPrh9a8KI4LLrX0zqIYRqb3X3mO1HCcK89UU1aGSHuyU4 5DAw== ARC-Message-Signature: i=1; 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 :from:dkim-signature; bh=3m3PViSSSvRBvvAf8R0G1zKDb1jwNa59pfSuNx39IjA=; fh=9jERyHaBVkSYjvKDLj7G39aR/G88vFciZPp35CZ8FfY=; b=YEuaQ0IGMV99RC7V316VIjCIRzXAYSYc7BVCrbVPDyu969G6w3L60ngAHmfy7RCYK9 p/z5rk86xDRTKduhs76HuQo3GnOnFHXuHRF/nrIlGYY6YaSHMqbzMVX4cLcihMHI6S+u NhqaKY4bQ5r0EWSQ1NyidufpkL129Nl27LWWccjABM7pQk4XqdUXhA+oOoETQ9YRK4XN qOK57cH73prPFSVRCv2HJjcn8JfdXDrODweV/rWJOAeRalHxtHbE2KgV3PBYUjDEM2pc MRJaraqGDc2IM18dCZo5FjvD5vKmFq+lO+VQ74eRQasMnsEJLJRs2HKCOzo4OahjVaNz w8hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fiOude+x; spf=pass (google.com: domain of linux-kernel+bounces-25992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ay24-20020a05622a229800b0041cbafcc5a9si7870259qtb.636.2024.01.15.05.08.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 05:08:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fiOude+x; spf=pass (google.com: domain of linux-kernel+bounces-25992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2D2291C212E0 for ; Mon, 15 Jan 2024 13:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C6AD168D0; Mon, 15 Jan 2024 13:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fiOude+x" Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B345010EF; Mon, 15 Jan 2024 13:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-336c5b5c163so5191695f8f.1; Mon, 15 Jan 2024 05:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705324101; x=1705928901; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3m3PViSSSvRBvvAf8R0G1zKDb1jwNa59pfSuNx39IjA=; b=fiOude+xAh/5BsugYLeaBckaQpIT85DviqTe6kEY4uC/NM/lPs4iUb7jGtjJsQdirK ufBRVcUB4xyUAqG+3JqsGwrkpCr89Q5jihTk+XuKXJsCuZ9gwIdGioIF2+D5ze+N2QEO WoH89LV2pZuIn4zaHOuiwFonrpNR6M5ayrww3CNmBuO1QWZ1AYcBxK2MkFWYV8z3m2Si NXzt2AlFKZ2Hhv+10UHHzsrBXpZAzP0lUgK9Soikp/xUNXpJa9pnfrDWfYCSkxT3Ef0g sMSlR34kvCc5HVgeIiXzgMPRoJJ2cZXQYtxr7PsXAf7XZlwcqd9G875al4+VLDt2GheR QwAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705324101; x=1705928901; 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=3m3PViSSSvRBvvAf8R0G1zKDb1jwNa59pfSuNx39IjA=; b=JMl7iMxHXSzI4qi9KmQCDe+lmyo3kM2ooFTYyBHxwe4CvxL0Ufc6v7Ld2JPVXXc+pm r5g5CCrjmXBYz8Wqguu31IdTOp/4TqAqj17PRlLOKenQUlNN3Q6cYaBD/QWy1N7xuEP3 svCxQaaqWSsk7AoGCA0+N5ERPo5B9yjpE6zfFhScPpvLc4NG/xXskPL4QQ1mgdlH09aD STaoB6yajb1cX4H9acYOKCXNyZbzRga3+zQ8pczJ3Bn5+rXFNnGXQkxWMi10ueJn8KgB EzSx+cefHCWm5LnxQC5/w787Viss0WUGQCvi4NKrNktqbEW43poird5bi6HpEzXVpIYF vwrQ== X-Gm-Message-State: AOJu0YydQOpYqrbxwv46Anm8nhTxDJf+q0tqj7eKtBvyGeBgMlbENPdf ElPdIDiIn1Eegdk8wfsy3Dw= X-Received: by 2002:adf:fc02:0:b0:336:7934:9b37 with SMTP id i2-20020adffc02000000b0033679349b37mr2871427wrr.25.1705324100705; Mon, 15 Jan 2024 05:08:20 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:3d67:232:2eec:2430]) by smtp.gmail.com with ESMTPSA id d13-20020adfef8d000000b0033739c1da1dsm11843620wro.67.2024.01.15.05.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 05:08:20 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Linus Walleij Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Prabhakar , Biju Das , Claudiu Beznea , Lad Prabhakar Subject: [PATCH v5 0/4] Add missing port pins for RZ/Five SoC Date: Mon, 15 Jan 2024 13:08:13 +0000 Message-Id: <20240115130817.88456-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Lad Prabhakar Hi All, This patch series intends to incorporate the absent port pins P19 to P28, which are exclusively available on the RZ/Five SoC. Cheers, Prabhakar v4 -> v5: * Made struct rzg2l_variable_pin_cfg variables u32 * Updated PIN_CFG_PIN_MAP_MASK macro to use GENMASK_ULL() as reported by kernel test robot. v3 -> v4: * Rebased the changes on top Claudiu's patches * patch 1/4 is new patch for using FIELD_PREP_CONST/FIELD_GET as suggested by Geert * patch 2/4 adjusted the code again using FIELD_PREP_CONST/FIELD_GET * patch 3/4 fixed rzg2l_pinctrl_get_variable_pin_cfg() as pointed by Geert * patch 4/4 is unchanged * patches 1-3 have been boot tested on g2l family v2->v3: * Fixed build warnings for m68k as reported by Kernel test robot. RFC -> v2: * Fixed review comments pointed by Geert & Biju RFC: Link: https://lore.kernel.org/lkml/20230630120433.49529-3-prabhakar.mahadev-lad.rj@bp.renesas.com/T/ Lad Prabhakar (4): pinctrl: renesas: rzg2l: Improve code for readability pinctrl: renesas: rzg2l: Include pinmap in RZG2L_GPIO_PORT_PACK() macro pinctrl: renesas: pinctrl-rzg2l: Add the missing port pins P19 to P28 riscv: dts: renesas: r9a07g043f: Update gpio-ranges property arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 4 + drivers/pinctrl/renesas/pinctrl-rzg2l.c | 284 +++++++++++++++++--- 2 files changed, 248 insertions(+), 40 deletions(-) -- 2.34.1