Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp133877lqm; Mon, 10 Jun 2024 15:38:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtJRYTAalJ7HmN3oeDXQVhGAGEX8A6f2F1QgaYpXedOt4XrE6kBCbjPANcQZqKQ8ioBxc2rH6guwxT5EjkW/EnDqCPUBa5aoi/gJX4FQ== X-Google-Smtp-Source: AGHT+IE0dNIA/xaGoOqdaNamoKocI+AYeOrPqdA23ATQra5tpbFuEiW2OKjR4XbD/yOUkzfHYV0f X-Received: by 2002:a05:6e02:156f:b0:374:8205:d2d1 with SMTP id e9e14a558f8ab-3758039ae06mr132407895ab.28.1718059080995; Mon, 10 Jun 2024 15:38:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718059080; cv=pass; d=google.com; s=arc-20160816; b=qbceSWTaWt8/KWvRNDMz8JKVYh37JbFMwONIsQfyFHejDQdJsFTLVL05rAIIaCxhIv 5Yj4gxzsL5Dcmr20bh3twjz2kiOwwz1R5r94VSEf9/AqJ3tfDRAA4AxmBq60xbY661KM hn7+HvTe+nNRBjmySTqQpxV6Wohoue8gesZaqvpoZ6skluVYVacRTDOApQZ64iL4s90a FyAocwSlWLp5Q4NuTAT2OyjgQA+g3fh1bDsiPISTTBIb8tftPJ7kdIcacijwVeCc8LEU 7LyimDykxv4gwumuXDwmSTF3RXj6aWNmCZmaSQRsauVBA4NrYpT0a3GCe9Clun9vgRlN I7rg== 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 :from:dkim-signature; bh=BTtVyjqMEOKamwROfc4Uav8Qw2izbw3MOKMVpFlCw1o=; fh=vVgiT69kM0HjUCUYqQxeZebwQLk1ZN2N6BHGH1gNSFs=; b=rT6ifMyKxg1Qks553vjGnS/ygVUs/7YLmAWKEnxU3y+dEk14BrexFqV4uqwjFdcEZF 2qcpVG8NHKK1uSbX6a3GlkPURcu3ihveYVmB5RuR3JR1mtE38lLajgH9i6muXJuUMK3b +jr1itn3qjVF4f8kUqHKnGA4PTjXxRpzhMNdl+C0R+fy9N2OGRXCg3gdgL3MCrsY3vgn +sOIpdrhAugFrUhrZZ06gnfRyfTeas+7QdS7HZ0SyCl0rHcmptFWd0iwzR4Fm/fXQ/UF xKmNGwuCO5JvUqLbujFBBlRzRxRvzRb4Fm5CTyup1Kidhu9ZDZIya5+GJ/WYBUixoJm9 LJFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=bpWvbY2Z; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-209009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e6c2edd065si4976195a12.33.2024.06.10.15.38.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 15:38:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=bpWvbY2Z; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-209009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 959AEB218D7 for ; Mon, 10 Jun 2024 22:37:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5035A15099A; Mon, 10 Jun 2024 22:37:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="bpWvbY2Z" Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 C731D15099E; Mon, 10 Jun 2024 22:37:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718059030; cv=none; b=tokylvmrNeVwQM5fT9FvniRWVu4Xu2Kt5TqDg3CG/7wFW6Z5g5EzRR5qdDyXlHMaD2m651A+wGGckTnpULXnIhFybrNfgtpbh4PV95yNMOh2+Zj0CjZYBJ1q1Go8+kVO7oaQoDOkjcp7xoDjs2rRO8pOKz4J2TPCIkE31bbFRTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718059030; c=relaxed/simple; bh=UUjGE1dIt3wWHQK4CxFnESTgMlrvmbty3Vi61/QzSVY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=U++5sXycD/AFppfY87yVWkEG1HphbT1I0hWCqKm4hJ2IOfJkafw7uK/B2Yt5tm3DJSBfNNd/Gi2aiybWc4jBdYnZ85IvsXx5lGluPUTAiWlKxwnjtd6pSggPj6h5Y8Q6eYOeyw2Bzv6rCuo7meBKbrw/0afUDMIuYBHAV8sSHM4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=bpWvbY2Z; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: linus.walleij@linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1718059024; 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=BTtVyjqMEOKamwROfc4Uav8Qw2izbw3MOKMVpFlCw1o=; b=bpWvbY2Zo9ZZ0d/80dKuV323LLrIOyzoDfyi2p235pdmXX0u1tiSnVwjooaFiFvCQw0X0P ihP6lagDjt8iryw33TT7lVLOrDX6marvKLp8oeNnb5ha+U9QkgHWEgFEBrZvbPf8dIf1fu MI2xh1rbi04uUKT8UHSDzBdRZRKZCTM= X-Envelope-To: michal.simek@amd.com X-Envelope-To: linux-gpio@vger.kernel.org X-Envelope-To: andy.shevchenko@gmail.com X-Envelope-To: sai.krishna.potthuri@amd.com X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: sean.anderson@linux.dev X-Envelope-To: conor+dt@kernel.org X-Envelope-To: krzk+dt@kernel.org X-Envelope-To: robh@kernel.org X-Envelope-To: devicetree@vger.kernel.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson To: Linus Walleij , Michal Simek , linux-gpio@vger.kernel.org Cc: Andy Shevchenko , Krishna Potthuri , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Anderson , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v3 0/2] pinctrl: zynqmp: Support muxing individual pins Date: Mon, 10 Jun 2024 18:35:48 -0400 Message-Id: <20240610223550.2449230-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT This series adds support for muxing individual pins, instead of requiring groups to be muxed together. See [1] for additional discussion. [1] https://lore.kernel.org/linux-arm-kernel/5bb0dc7e-4c89-4f3d-abc6-41ae9ded5ae9@linux.dev/ Changes in v3: - Express groups/pins exclusivity using oneOf - Fix zynqmp_pinmux_set_mux and zynqmp_pinconf_group_set not handling "pin" groups (thanks Sai Krishna). Changes in v2: - Use __set_bit instead of set_bit - Use size_add when calculating the number of kcalloc members - Expand commit message with some more motivation Sean Anderson (2): dt-bindings: pinctrl: xilinx: Add support for function with pins pinctrl: zynqmp: Support muxing individual pins .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 349 +++++++++--------- drivers/pinctrl/pinctrl-zynqmp.c | 83 +++-- 2 files changed, 234 insertions(+), 198 deletions(-) -- 2.35.1.1320.gc452695387.dirty