From patchwork Wed Aug 1 10:00:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10552017 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 22DF415E9 for ; Wed, 1 Aug 2018 10:00:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 129592AD16 for ; Wed, 1 Aug 2018 10:00:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06E7A2AD49; Wed, 1 Aug 2018 10:00:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9F7062AD16 for ; Wed, 1 Aug 2018 10:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=6lE2gazMVryZgurREbfBwaLKm4DoF7cM0zV2gfrb9AQ=; b=MuX IBcHn6htWYkqnYrDjpyFYlJ/qeVCA3kVQARBWP6xZE18gfQzH2TAu4LkuQMiv0ZAUcV7YeIh/wb32 wb22Ute+pdGoXMTUOofCKgskTg6j3CvcLnAOOqxKEK9EjiBI4SuuMwNzHxu5xl6YxurBv5UO9P/IR Jdx2H/3UCzLVUNvN1xNFIVQmKfiTgPTIXXKJI6aASSj6Z2f/nnA9/qDYxtbE3+qeaLh49RRSTQIqC 19r7bzX+HzVPzKLuj+STBwGhmqWkytYxJ3scMU/nouOxRhJsMV+4l/wa+WBF2ZzK/+UBtrZnQe1QS 3BYaun0xhVvhw5fcweNNyy1QMvs7C+A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fknw0-0000oy-Vd; Wed, 01 Aug 2018 10:00:48 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fknvs-0000h1-1P for linux-arm-kernel@lists.infradead.org; Wed, 01 Aug 2018 10:00:45 +0000 Received: by mail-wr1-x443.google.com with SMTP id v14-v6so19509985wro.5 for ; Wed, 01 Aug 2018 03:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=R8V9qS7RHBkORrhq3PjUR7AbuVwCLRqpVf31ozhz4/w=; b=gDBlmo9FdK8QR2+NbotsYk0D86DH3QAzZQkDCRakum89ed63hKunA3D3gtRr2C8i1d ZLBoIDAK8tJon0XcxCMmM/x4usgzH7vrq++OvH9gwrRJX3FGjIUGnA4bDYwh8AS75lFQ XyVuN0pIfzE4tqc0nugXzcISlM5TTevCJCgDwLi8OGvKNWY2w9sVrxf7bs1HYRq/xYe3 Z+0ThvfHXaagE6mYxjWR4AMkg/ZXiCWF2MtH1a15tn/sH5kmZotQy6PtMGabWpRCQ2h8 yP2zTWF5fQ41ci3GhHBT4SAXcVv6ll69vfuAjMKXNINooNUsUVVxgm55smb3R+/0DUFR U/Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=R8V9qS7RHBkORrhq3PjUR7AbuVwCLRqpVf31ozhz4/w=; b=cLrMtmDNdD68r0GrsodgqmI6fYm1DpQa4EcKbU2dgMnefMnwc/GZFsDbSn6X+bKOCG Q1GS0LkSSnmMSpPZlLTq6Pp8NPjGDDo5lk8DcNUMRiG+HY1AhmRlNc+KQzlclP1KcLcM FDlWtZ0L1U2Tg8Jo0eXsEgifCmFRVIotI6ry0l+iX6ACgIxQTT+bwh/5UnhACvMeX36N 1RlBtaFCFzWKchLp0o/N8x84YYH3CEvGzDpOJKFCHna17FCBjqnHCEyAfgpDly+rvJ/D Ru9lkNVWsVZmy4PyLSH07Wv2Yaf6GSgSBA961Fr4zhRyeAnWcLu1jaOouU9FLMVlDJTB 4ytw== X-Gm-Message-State: AOUpUlFW5jUO4fIPomANou6LHuLSzqjXL5BHDfSfS8y/6y9fNBqkNxHw NXqt+spxGSKcR0iYLe69NKameQ== X-Google-Smtp-Source: AAOMgpdPpNSu+fAPxQ/tnpHUTpkjxjBIK6O0nPMkIZJeEJaJk9WAPo0SDai9YUUQHltMB5s4CNqYOQ== X-Received: by 2002:adf:b309:: with SMTP id j9-v6mr23014680wrd.207.1533117628023; Wed, 01 Aug 2018 03:00:28 -0700 (PDT) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id u7-v6sm6317067wmd.46.2018.08.01.03.00.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Aug 2018 03:00:27 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, linus.walleij@linaro.org Subject: [PATCH 0/5] pinctrl: meson: Add support for TEST_N gpio Date: Wed, 1 Aug 2018 12:00:18 +0200 Message-Id: <1533117623-27856-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180801_030040_094287_DF5652B2 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Amlogic Meson GX and AXG SoCs needs to do a Secure Monitor call to set the TEST_N pin direction. This patchset : - adds the Secure Monitor call - adds support int the pinctrl-meson common code - adds support for GXBB, GXL and AGX SoCs Neil Armstrong (5): meson_sm: add TEST_N pin direction call pinctrl: meson: Add support to set direction with a secure monitor call meson: pinctrl-gxbb: add support for TEST_N pin meson: pinctrl-gxl: add support for TEST_N pin meson: pinctrl-axg: add support for TEST_N pin drivers/firmware/meson/meson_sm.c | 1 + drivers/pinctrl/meson/Kconfig | 1 + drivers/pinctrl/meson/pinctrl-meson-axg.c | 4 ++++ drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 4 ++++ drivers/pinctrl/meson/pinctrl-meson-gxl.c | 4 ++++ drivers/pinctrl/meson/pinctrl-meson.c | 31 +++++++++++++++++++++++++----- drivers/pinctrl/meson/pinctrl-meson.h | 10 +++++++++- include/linux/firmware/meson/meson_sm.h | 1 + 8 files changed, 50 insertions(+), 6 deletions(-)