From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 2/6] pinctrl: sunxi: implement pin_config_set Date: Thu, 4 Apr 2019 08:56:01 +0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Maxime Ripard Cc: Bartosz Golaszewski , Chen-Yu Tsai , Thomas Petazzoni , Linux ARM , "open list:GPIO SUBSYSTEM" List-Id: linux-gpio@vger.kernel.org On Fri, Mar 15, 2019 at 2:33 AM Maxime Ripard wrote: > The sunxi pinctrl only implements the pin_config_group_set callback at the > moment, whereas the gpiochip_generic_config function relies on > pin_config_set. Rework the functions a little to support pin_config_set, > and rely on it for pin_config_group_set. > > Signed-off-by: Maxime Ripard Patch applied. Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 021CBC4360F for ; Thu, 4 Apr 2019 01:56:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B6A3E2082E for ; Thu, 4 Apr 2019 01:56:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NSULehNj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="V026bOe8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6A3E2082E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tQT4M9ASJES6zckBzA5z3Qv9qQJrPo9mMVy4+gLUFUo=; b=NSULehNj6cOoWH r9HZeNCCOFRB1crzZZ/6SnWiMPQXzT/cvXY/qLpOss6Nw198eQK7qYKDaw5cQ3VBL6AuuempGqaok 1MuoWTCV43EdBXrEwvm2uHGonzmy8N4UpAfKaNfJFBQrJzz3vs93dW6yfra+llXg0pKckeMSI7sE2 +O3RGKswTZ9gP6TPaVNhZRa7BAACHZ4zKwXkLQ6V2HH1MDiAe1nMqLTB2veMxmJZ6+1PT2U40udBT JzWW8ExAj1JQsSBnw9bNGEcJ31uZ++gSsZlYg67KkP/jEpmt9Dv1GNoVoOYbUGq7FXZ+NJFOufrJL 1TPzS27UnxGnVwYpCF1Q==; 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 1hBrc2-0002mE-3d; Thu, 04 Apr 2019 01:56:18 +0000 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBrby-0002lv-TL for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2019 01:56:16 +0000 Received: by mail-lf1-x143.google.com with SMTP id r25so508440lfn.13 for ; Wed, 03 Apr 2019 18:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SUeBaC8sXDGYFLQ495UFdb96tZxcMXzO04i85LXeCXs=; b=V026bOe8KTEFB99qRrv5eslu9+5luYRteHkA4M3jdQYmNSivN3uEig1SNy1Fpsbqwi LTDtN1qDSJzP2I7hf2a8U65IzL8QC6Xh6nSGgD6C8gwS/ux9pz94TpEy6nE6sn8i5l6h 1PaflSMNpnZsQvk/AoJxYPWTcGzTZjHbWH4A9gkMhlGRrg1oZVcx4C/c0Ehzsq8UlAOv iAeU6stCQ7ItJx+Ff13ygsD8y6QviGRr+o887FvjZSvL7tStdVAEASpx4pkYiOEW2XLt /Q9rALJqbh9P92uKi07ZMoLWILe7dg5kt5zwriGuL3gdON8uTqMQZnOfUolXKCs6QigX Pkdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SUeBaC8sXDGYFLQ495UFdb96tZxcMXzO04i85LXeCXs=; b=NscawwTIg4rmBoNoPNGvNmMV8jDPOBpAnBhYlTp6vUdDouA3W1U12F/KT8K6rkXQ24 Sczp7RS5SuF0dvkNalbp17nkGV6pJEnvuHfqt19hf1uXU1RioM4vwvsq6HQy8JkbX37R 0wCgSBhmFTNRp0iLPRYKaUyefhnT0Uz5/vdfkZjLVXYlIrFmxDjWsyndzPYxzhkdefHq sP28RrGGjOw0TXPVHfl+uLvCUGHpKhMFd4ojpxuiMidPpQQ8t2rlLCFFBVytBgZInHKa 1Dm5YbUroLEoASDLz64aYbfieMalVn5Db1lk+tClxewwhIsBDo1Lxy+WmXFw6JTRouhD 6+nA== X-Gm-Message-State: APjAAAV2EEoqhnbtBcfdh+c/sRjYWY8bnwZS0oxg2959ok4Ostmb34IJ HPLQ4al68Gj6/Ibs+WDWkP7XouUy2oqOCifqf6F1lw== X-Google-Smtp-Source: APXvYqx8Yx5RaINrZ1ELEdz1/dz985LizitOfO9Gf5rhumms65/3IforAcfjEbKUPhP/2qp5VQjayuxh22dkcKDZf8k= X-Received: by 2002:ac2:4285:: with SMTP id m5mr1515049lfh.103.1554342973115; Wed, 03 Apr 2019 18:56:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Thu, 4 Apr 2019 08:56:01 +0700 Message-ID: Subject: Re: [PATCH 2/6] pinctrl: sunxi: implement pin_config_set To: Maxime Ripard X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_185614_977207_7ACE6DD1 X-CRM114-Status: GOOD ( 10.75 ) 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: Bartosz Golaszewski , Chen-Yu Tsai , Thomas Petazzoni , Linux ARM , "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 15, 2019 at 2:33 AM Maxime Ripard wrote: > The sunxi pinctrl only implements the pin_config_group_set callback at the > moment, whereas the gpiochip_generic_config function relies on > pin_config_set. Rework the functions a little to support pin_config_set, > and rely on it for pin_config_group_set. > > Signed-off-by: Maxime Ripard Patch applied. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel