From patchwork Wed Apr 20 19:19:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 564130 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27F8CC4332F for ; Wed, 20 Apr 2022 19:19:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381699AbiDTTWh (ORCPT ); Wed, 20 Apr 2022 15:22:37 -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 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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(+)