Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp873185pxb; Fri, 22 Apr 2022 13:08:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwANVjaMdLK3wiBQ7aaKPX0ao95/myS7HCPrxw0IrxViwxBU/JgyBHWeGhNX5VKoIZPN9vi X-Received: by 2002:a17:90b:3ece:b0:1d2:aee9:23c8 with SMTP id rm14-20020a17090b3ece00b001d2aee923c8mr7235221pjb.112.1650658109862; Fri, 22 Apr 2022 13:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650658109; cv=none; d=google.com; s=arc-20160816; b=AZVDDYfL2GGVA5K15cT3AivZ99+ivUqc+m8fiGNo57FGw29cMTW1i/v2bijSwbYd2x bZzbzoPlI5Uom1Oaz6g1iVg+vetPuip06q4FuVYGd/XUDDDV99IgYnvIA03h2Ei20ouY iPeWnFcQtdKPLA0t9FiwfD/XWoqne+rlHYm8bVt7OQ67CyN/RmugA2JlRybSOAbqtnRM KLUzGfbGdennhs5cYX8Dai9fO54PefZWo+l9EkWGUmky1Byqo4vhb5eIpPrPUk/9Dlwe hm2OYjE9e1ng3GQJGdrUxyVqa9InlrtYuorr1Y3SlaoVDy15dRfA5cWQ/Ygs9ZOSq52W rrFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=N4XTCPgNqIDAPYf52P20Kkeakdn4wFzbcBmqF8mhHHE=; b=NB3WROJlTlL2vxP1puycQ0JraxP/F15XQL6VphLhh8YFzAARjQi0C8pvEQAM6VCodj adl91yzrvPefXLmSj49GXBquvPN8JWw+bkcU1V0ntqYmFi3UjuU0R7RkavhgbtvJSJlQ Y0fvXL6LIMCGtaB4+MdUO1nOKRHKwSsJKbzU6sVPU7mfFa74seiKwbask3MNLqpj/yvQ c28ZMEpxECIefb6Ax84T0PWcdu/FuWjKZt2bFyt7okau7nGRBdv+wJBOKE88d/usdigw yOi02SQs1N08e+Ql8gvj0qa2bFvt7p+wAN4BlyyfsFYsgNufpwVoWhZ1cW5vnWhhiu4H xNLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=dNMAmBaJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x26-20020a656aba000000b0039d6ac4b3fcsi10267821pgu.739.2022.04.22.13.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=dNMAmBaJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B30FC24B805; Fri, 22 Apr 2022 12:04:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381724AbiDTTWm (ORCPT + 99 others); Wed, 20 Apr 2022 15:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381607AbiDTTWZ (ORCPT ); Wed, 20 Apr 2022 15:22:25 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD0C9BC92; Wed, 20 Apr 2022 12:19:37 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 4473922249; Wed, 20 Apr 2022 21:19:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1650482375; 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=N4XTCPgNqIDAPYf52P20Kkeakdn4wFzbcBmqF8mhHHE=; b=dNMAmBaJio1vD+L4LGHsouTco8j1zjT4tsB1yT6nQsCsf3ZC5YsXpcE7JDuswlKmojtwtw z1k23A+FbjjOhgXRv2dlG9wnjdfsoQ/wvsr6jpehLVKKbD6U9ZcBKQLkp3Esi+6tTNvMR9 HRgEns8AMQ85sEJrLPE4K8CIFYV9XdA= From: Michael Walle To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Philipp Zabel , Alexandre Belloni , Lars Povlsen Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Horatiu Vultur , Michael Walle Subject: [PATCH v3 0/2] pinctrl: ocelot: add shared reset Date: Wed, 20 Apr 2022 21:19:24 +0200 Message-Id: <20220420191926.3411830-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On LAN966x SoCs, there is an internal reset which is used to reset the switch core. But this will also reset the GPIO and the SGPIO. Thus add support for this shared reset line. changes since v2: - use dev_err_probe(), thanks Horatiu changes since v1: - rebased onto linus' devel tree, former patch was still based on v1 of the YAML conversion patch Michael Walle (2): dt-bindings: pinctrl: ocelot: add reset property pinctrl: ocelot: add optional shared reset .../devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml | 8 ++++++++ drivers/pinctrl/pinctrl-ocelot.c | 8 ++++++++ 2 files changed, 16 insertions(+) -- 2.30.2