From patchwork Tue Feb 4 19:41:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13959720 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FFE7C02193 for ; Tue, 4 Feb 2025 19:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=M2Jh7wxBPDIMXjM/IX68myxQ1J5TffG1POfQiRFYLQc=; b=AETT+4P1TnfK5yGjpFneTHE2Ks OmpXLG/hYhUThVARALoRZT6o4AfuLaUiNXqPzSRSF+kfqHAm+N2XKaQ6pj6u02Om+FvmUbz9peMzN HRS4Opv8cLUCC9RF54VECoPfXY+DqG3MXpf8DE2tfbC9qhH4ZI9Jjyjry9g7ZC42z0QOZOMIKkq8T 2oktVNpkxCFkFcGsBNSmmCawcRxE1kaLidYj3VXNymqcH3xLqh05lEfSaJ356GZljjGrGOzw+HLV5 iWWaGNqu1qc1g3HBaIIO0O4RAbAyg7RMeJHEWIt9skURK6OwRNS/ei5EBDdBYNUEkGGRzvYQ5Laqg U/1FYnlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tfOtJ-00000001Pky-3gnH; Tue, 04 Feb 2025 19:47:25 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tfOnf-00000001OBn-2qdJ for linux-arm-kernel@lists.infradead.org; Tue, 04 Feb 2025 19:41:36 +0000 Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 514GF5tH011391; Tue, 4 Feb 2025 19:41:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=M2Jh7wxBPDIMXjM/I X68myxQ1J5TffG1POfQiRFYLQc=; b=fi4o4zgEpYwnQCO9VbgJngzEtnMzXNbDe s34+LG9sZTrCK7byl65AMnUDCsg/6tyMPcAsfemeCBUJmlnhqysZXQKuzS1zvlHx oXs7amZZp/pdpsBrfgKK0AXjq23ENjbEO9NuKlNGTDUSh1Rq3FaIhuR4JZcQCdUO 4sqHLCVlifL4CM5SPWnjGlcxGBPPZp/B4wg1u2386dm2aDW/iKLqrgX1a0grr6EK iMsMHweMG/iTtjE1zLji+1IA4YFjuM8dIKSM5gZepeJF2u1eQIOGd3XkvpWv/9UX Tcs2kChjOTwocjBwH/phxAM3dK/HFk8VgeVAHR3/INohm4OmcgfHg== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 44k9r0vke5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Feb 2025 19:41:20 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 514JTUGN024635; Tue, 4 Feb 2025 19:41:19 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 44hxxn55xs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Feb 2025 19:41:19 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 514JfIYO13501082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 4 Feb 2025 19:41:18 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 330F558055; Tue, 4 Feb 2025 19:41:18 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CECA158043; Tue, 4 Feb 2025 19:41:17 +0000 (GMT) Received: from gfwa153.aus.stglabs.ibm.com (unknown [9.3.84.127]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 4 Feb 2025 19:41:17 +0000 (GMT) From: Ninad Palsule To: brgl@bgdev.pl, linus.walleij@linaro.org, minyard@acm.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, openipmi-developer@lists.sourceforge.net, joel@jms.id.au, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, eajames@linux.ibm.com, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Ninad Palsule , andrew@lunn.ch Subject: [PATCH v9 2/9] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Date: Tue, 4 Feb 2025 13:41:05 -0600 Message-ID: <20250204194115.3899174-3-ninad@linux.ibm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250204194115.3899174-1-ninad@linux.ibm.com> References: <20250204194115.3899174-1-ninad@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: sFz25NTmsH6MKevdrjgW-qP1DQTkBnv1 X-Proofpoint-GUID: sFz25NTmsH6MKevdrjgW-qP1DQTkBnv1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-04_09,2025-02-04_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=999 phishscore=0 clxscore=1015 adultscore=0 spamscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2501170000 definitions=main-2502040145 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250204_114135_827800_8418E057 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Allow parsing GPIO controller children nodes with GPIO hogs. Reviewed-by: Rob Herring (Arm) Signed-off-by: Ninad Palsule --- .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml index b9afd07a9d24..b16273e69dfe 100644 --- a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml @@ -46,6 +46,12 @@ properties: minimum: 12 maximum: 232 +patternProperties: + "-hog(-[0-9]+)?$": + type: object + required: + - gpio-hog + required: - compatible - reg