Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp394026pxb; Thu, 21 Apr 2022 01:52:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwid9c2xY/b9PCnDuCmhw2Sl2XDAaFj6iTeLpuYz6KkSNh+O0odQSywflscNgLF0ySGojM7 X-Received: by 2002:a17:907:c25:b0:6e8:9e29:2322 with SMTP id ga37-20020a1709070c2500b006e89e292322mr21422007ejc.66.1650531143588; Thu, 21 Apr 2022 01:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650531143; cv=none; d=google.com; s=arc-20160816; b=o6C9mLI0uJBcO5kwdiGmmNEYBtrR3rlTYQPzphLJwCvb+EiD/KhNL8RhXJGk5sUvYN WPUHx1uFwnrUzlpislNA/fQgu0jIomNBsz/aYXplg8Mjj+BbKAQ/6K1AufX128KIqIKG 92GpyzQiANYdx14G1fMW85su97GX4HqH3+VmSb8xXuQeAZFoCzENyJXjhujRHV6yhiEn NQaTEmZA+Wxpqm/M3WFDWke6Pj86/gyC5BHlV63AiPx21XlNQw2ppY6LSRnPZXAUQ1wJ K5+6qa7AYxUITtzpou1ymdMhC1D8edcFGsnfpzxi7ST9Mc3lkHVb3MTcBFx9bsCF+Gtb gcOQ== 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=kQ7hnJaJfKvnMgrnfler+apWCnJJMlM5yxAVFM7iqEg=; b=ybIcXTpNmHAKds+INsIH2tERZ6+fRRE+o91MBDDptlVyLt/h6hcP1c254wnMm6b1vT rGAnMaDLD+xu9bCxrOAKbCQftWUfGC6zrucWl9Eh+/qfQWfFt+PGlx7XozgaBivqNZAS vnagk+MI2ebF9ggH2EEjhoTtPa7Qz3eYSEZdH5UvRmyUmwqPAvLfD3kWCMB4Mq+wq6vl VcrHBAT1TnmG6P6zJSaz0cFDEq+JKhKpCLUHpkfY3gEdcNKWqqeICH1LAsdEhAndMmut cWYCv0PFg1h6SNvhVFa8iUYnXtXWXXaFL+riVI3m7TZXM3S4xC5MJAaU2ZO2D9or9sGT U++Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=k2kNybmf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a05640240d000b0041d983f82adsi3846980edb.43.2022.04.21.01.52.00; Thu, 21 Apr 2022 01:52:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=k2kNybmf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358391AbiDSXGS (ORCPT + 99 others); Tue, 19 Apr 2022 19:06:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231473AbiDSXGP (ORCPT ); Tue, 19 Apr 2022 19:06:15 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2204C24F38; Tue, 19 Apr 2022 16:03:32 -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 D10752223A; Wed, 20 Apr 2022 01:03:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1650409410; 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=kQ7hnJaJfKvnMgrnfler+apWCnJJMlM5yxAVFM7iqEg=; b=k2kNybmfivvQcZ0q52dAMH5r58qdKjly7kUJjWUSo1aYLyam/xi+o+POemwx8uONIR8nB7 235ucs7IjjrVQgrBqVLZwzkiPLbuV78zNQp0Qg1qT9Dk2ZQve/psECVGnNrgdE2Rln8vas 0hfQvHoAK6oC9yHDx3hy5n8YyBAWAh4= 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 v2 0/2] pinctrl: ocelot: add shared reset Date: Wed, 20 Apr 2022 01:03:22 +0200 Message-Id: <20220419230324.3221779-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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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 | 9 +++++++++ 2 files changed, 17 insertions(+) -- 2.30.2