Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4418446rdb; Fri, 15 Sep 2023 01:13:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzo9ACaesclbfx14hflRUKB+B2A941uxaxsk0zaCNPP9tlUUpCPGxmOFtgAR/EYqnJ69iY X-Received: by 2002:a05:6a00:9a3:b0:68f:d036:9bc5 with SMTP id u35-20020a056a0009a300b0068fd0369bc5mr1069591pfg.2.1694765624043; Fri, 15 Sep 2023 01:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694765624; cv=none; d=google.com; s=arc-20160816; b=zMG5TF3Lra4NvKLKjHkEqvbwUzRGCHZcUr8MokdXJzE+mtAyby4N15jYGbKRahysTc DSjSHXELxfSkxaL4csrH8E+oydqGLwpqIw9hRCBfzt56zclXSMBzHT6JyVy/+ksnoJtH cQoeTIwE6S1dq0eLwl1xPKXcM6MFPqsQaFQBUlDGug+0huBUMGmqUOuNJgNC6FQuyEX/ 7a1jajKkn35BE3oE6Q0fCktDS9l+kNYRUKHGfiERaGXjvrUYjG7xUoFMcA8J6cMUxSpm cbR9MdWZENQ9G0uySfluOLt0JF6aArxbEW34jsjYntiqKrtnNdNVxvgwfyivVRYH5vQF XL8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=k3ZojEotlJ4/e05/ILSqyS3jg9XEk4HvqWcO+5WOfSI=; fh=VFdZ8CjG45dzaYrlSoBeNLOz7FTpxgEF7wrJWyT7I28=; b=fkbH0aI74Pye3fefw+VjXk9x0+nXcpTwFx26XludlyQl8OU0w/zqmIAzudFV2MJIqx gGdktPn1VkuuMa8Y3Ob1TFs5bJWqvmBS46UP5/lhllkrUkMNlH699Vet9RuNGCcZz8Y+ u9t+WCmY6loQFdtj1ZYDeHkqlKClvUEquLrlXbT2OqJhlU6zotdPIeo4T327jPGI+eY5 F4UPTVA5MFcYYMC6MAb6lgjW7N2zjpxu0MhkyIMLRIzOILMsVzb6bcj6dRDcdTuWHtUi 4qRxFWjmFcUHJsibqC+cNhj/QDNyQfUgK3NsDOF7skP1Nd5uzV05eCQauboRO4aAP9Xf cqSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OT+7yfXs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id g186-20020a636bc3000000b00565550ba905si2843368pgc.622.2023.09.15.01.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:13:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OT+7yfXs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0DC20820EA6D; Fri, 15 Sep 2023 01:12:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232921AbjIOIMX (ORCPT + 99 others); Fri, 15 Sep 2023 04:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232831AbjIOIMO (ORCPT ); Fri, 15 Sep 2023 04:12:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CB70271C; Fri, 15 Sep 2023 01:12:09 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 59125C433BA; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765528; bh=IxhYy8HDsfSFxr7o4eBZ+tPwoow6t9TJ9PFphIBRJ7E=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=OT+7yfXshuduxTigrxMbCzeh9Qd0XNRxTStac2hcVr21sOXawWx+DMBHr2c6je94H R5p32sgO/f++veZtBBhnWiqqCRle25lcT7iQpZ5ZHtDhTES3xxjQmfZzP1t9jc2Bsu QVErV46NIzeTr0V+4sjVWx+wkpLmPdaHNBjQNvggo/IlPN7+Gw0skAg0vRrwRFb+9z hzxkl4IgibX5cNOrVU2HZUX7HoIJUwDqad9zJn62duUcWiyCC+5L2rSBuhxkYoeXMB jAKmGenBt+AoMY9nh+nzHTxbtwOcZ9kAXyYHaOSKGGEshkcQjWVipSsY3gFnrrbHKK Z92Ymb5BNW4pg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46108EE6436; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:10:47 +0300 Subject: [PATCH v4 05/42] dt-bindings: pinctrl: Add Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-5-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nikita Shubin , Alexander Sverdlin Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=2116; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=bK/ofpUsuxYmv6fuKZVUudz6ww/jwSK1B72cojrFW8s=; =?utf-8?q?b=3D7OJUtaO82nOu?= =?utf-8?q?4x7xPTuOK6Typ/ue8WcYNbIdDDYu+jw77DmKDfacr16Q9zQpmCDXjBWMNh1Kr81Y?= DKJhsmNqDFEG9p+ap5iKNA4Co975BwINjRWVn9BzsV4pw8/Itwsx X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:12:28 -0700 (PDT) From: Nikita Shubin Add YAML bindings for ep93xx SoC pinctrl. Signed-off-by: Nikita Shubin Reviewed-by: Linus Walleij --- .../bindings/pinctrl/cirrus,ep9301-pinctrl.yaml | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,ep9301-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/cirrus,ep9301-pinctrl.yaml new file mode 100644 index 000000000000..1dbdc5ccc232 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,ep9301-pinctrl.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/cirrus,ep9301-pinctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus ep93xx pins mux controller + +maintainers: + - Nikita Shubin + - Alexander Sverdlin + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-pinctrl + - items: + - enum: + - cirrus,ep9302-pinctrl + - cirrus,ep9307-pinctrl + - cirrus,ep9312-pinctrl + - cirrus,ep9315-pinctrl + - const: cirrus,ep9301-pinctrl + +patternProperties: + '^pins-': + type: object + description: pin node + $ref: pinmux-node.yaml# + + properties: + function: + enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio ] + + groups: + enum: [ ssp, ac97, i2s_on_ssp, i2s_on_ac97, pwm1, gpio1agrp, + gpio2agrp, gpio3agrp, gpio4agrp, gpio6agrp, gpio7agrp, + rasteronsdram0grp, rasteronsdram3grp, keypadgrp, idegrp ] + + required: + - function + - groups + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + pinctrl { + compatible = "cirrus,ep9312-pinctrl", "cirrus,ep9301-pinctrl"; + spi_default_pins: pins-spi { + function = "spi"; + groups = "ssp"; + }; + }; -- 2.39.2