Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3185871imu; Thu, 29 Nov 2018 17:27:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/WLg1HXI6YTO6wSZMnH3YS3Ut7L2RjFqSywkj4VAiq0l9Meps6dqYyTWkv6r4WK4ENlo6m5 X-Received: by 2002:a63:5664:: with SMTP id g36mr3148099pgm.313.1543541245520; Thu, 29 Nov 2018 17:27:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543541245; cv=none; d=google.com; s=arc-20160816; b=ZIwWBNwrcBxwBTs2+wVT57nuHFEOxCt84bIn1tFiZknXG4EjbwqGRJglp6nvxe2raz UWNalMze+qdFTdENsQnJEkH1gwgSCi1gxlMruxsswUmkp5mYsdpFIVGWtmlJFUsGAlGC B1gG6poBX4JDS+YyrNiQxUh0xwws+i0RAXfUNo357Dhdn53zR3WI6nuz4RkWvjJrdmuf eWnkaV8JP62fxpQwjY8MzAZEqUVK4ZfzgFTmeuYK9IpJdO7QBIdQvvb1mbQvTkNHJ/sj uGx4lb8Nq/egQfZXg/dej65NcnzzlJojN4DoLVpyQw9y15GBF82XN/ovZIkWSBZFCgWA ooVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=imTXz5sZlu1Kh8pfeNdiHOOHYdQh1mhRs+8hfeMyx/0=; b=fG3fDI0NsOK52YczIEiXUtFOjIAe1TcePbndMO69+mhnT7GeZcV3HksLVxNuzDivKJ mTM0JnLERJ5+HVsUG97w68irUUvgThpE6DC5ZxScMjy7enjF/UOECLQiqzy+70bQr+hA F/1EVQpBObfDxGBz/oMS4H/k66U7hbulqPno7+IwiEumJxBcXvjFipSe1Ryf1LqLkEqx S+oi2jz2RosOfRNFV6nC/66rV1Wg+c+dD38H4wHZwtH2C2lDf5XkNpf05WI7t7vliYlP xdxPb4TnV2Jjmgal8wbsh193UnPjo4kPfpcYxvACHts7ZWpXXbqeYZ1k4NUxRmJmHoRm azoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YVTvFcMV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si3373340pgk.341.2018.11.29.17.27.10; Thu, 29 Nov 2018 17:27:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YVTvFcMV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727158AbeK3MeH (ORCPT + 99 others); Fri, 30 Nov 2018 07:34:07 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:34036 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeK3MeH (ORCPT ); Fri, 30 Nov 2018 07:34:07 -0500 Received: by mail-lf1-f68.google.com with SMTP id p6so2932029lfc.1 for ; Thu, 29 Nov 2018 17:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=imTXz5sZlu1Kh8pfeNdiHOOHYdQh1mhRs+8hfeMyx/0=; b=YVTvFcMVFW4d6Qtv3Gks1YZGGyVCSefK5irFL+CjNcGCDo7iI+YfcYrh4TOEntWcCP B8JLC+l0UdUpI03kiKWKiTS0hQXm35qCSaFVL2fFNr4TIL4Jvco9+AuXlUZO4Ul+zJtD /WuRE7+3V/FpE+G1bTiX9/epsPNiOBDdBouQzb36Wm8cUADJnMV6hJpokbUnhaIN1v8/ WUuqdLvo6JXL2XlIWuV3s5yxd+EG/Kv458HIOHlgd96gemRkTdPryKV6lMe00zvwHvI+ FpmdYPXpmPQONQr0jL9vwuvd9vfbc2+5cC1pVbww/k1Njwm7Qq4YsDneEqSz0KJFBJJQ YyEQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=imTXz5sZlu1Kh8pfeNdiHOOHYdQh1mhRs+8hfeMyx/0=; b=JpLU5EG9UwfmzVS/Py5e1K9iKcrTguyKing4bJCbzLilKrHcH8l3tsAgVI9lG//rcx ZtYjJlZ/chu3jMYSNdG3S9CtGSu7C5ZmRf+pU6GYkVt+RBYU8yl66P/0qvMTEZNznE1F LsqDNw/sI3rhsRWVG0Epp9GlsBbbX7jLobtkVpHHEPaN1xv0uUoIhnGPMKZwlbiEyw+O GpiUQNbVfh9hoI/rs7d/TO3G1k8ElmoXmtuxD8ea1mQRRKGzlQVYs7JypoMJDNPhQAp8 kuP0tTDwCof593mTcD9eEzMLb4rLIQib4IRJNFd67/Nc6LzXo92X7c7pmxRG8zLLm61q ui4g== X-Gm-Message-State: AA+aEWb7od509CFtUQEqilFXvQRTVslTkUtD20duqnzV++5SoCooAQ8x bJy+3NGNIdFZByk3bXNvi04= X-Received: by 2002:a19:6f0a:: with SMTP id k10mr2281069lfc.119.1543541194530; Thu, 29 Nov 2018 17:26:34 -0800 (PST) Received: from z50.localnet (apn-31-0-32-254.dynamic.gprs.plus.pl. [31.0.32.254]) by smtp.gmail.com with ESMTPSA id e13-v6sm535382ljk.53.2018.11.29.17.26.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 17:26:33 -0800 (PST) From: Janusz Krzysztofik To: Linus Walleij Cc: Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, Alexander Shiyan , Haojian Zhuang , Aaro Koskinen , Tony Lindgren , Mike Rapoport , Robert Jarzmik , Philipp Zabel , Petr Cvek , Paul Parsons , Daniel Mack , Marc Zyngier , Geert Uytterhoeven , Russell King Subject: Re: [PATCH 2/5 v7] regulator: fixed/gpio: Pull inversion/OD into gpiolib Date: Fri, 30 Nov 2018 02:28:36 +0100 Message-ID: <3345160.3ImKfB1b4q@z50> In-Reply-To: <20181119071126.8889-2-linus.walleij@linaro.org> References: <20181119071126.8889-1-linus.walleij@linaro.org> <20181119071126.8889-2-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Monday, November 19, 2018 8:11:23 AM CET Linus Walleij wrote: > This pushes the handling of inversion semantics and open drain > settings to the GPIO descriptor and gpiolib. All affected board > files are also augmented. > > This is especially nice since we don't have to have any > confusing flags passed around to the left and right littering > the fixed and GPIO regulator drivers and the regulator core. > It is all just very straight-forward: the core asks the GPIO > line to be asserted or deasserted and gpiolib deals with the > rest depending on how the platform is configured: if the line > is active low, it deals with that, if the line is open drain, > it deals with that too. > > Cc: Janusz Krzysztofik # OMAP1 Tested-by: Janusz Krzysztofik #OMAP1 Amstrad Delta Thanks, Janusz