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=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 30A3CC47423 for ; Tue, 29 Sep 2020 09:46:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0A7F21D92 for ; Tue, 29 Sep 2020 09:46:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QYBPPtMM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728041AbgI2JqX (ORCPT ); Tue, 29 Sep 2020 05:46:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727886AbgI2JqW (ORCPT ); Tue, 29 Sep 2020 05:46:22 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DACA2C061755 for ; Tue, 29 Sep 2020 02:46:20 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id q9so3958830wmj.2 for ; Tue, 29 Sep 2020 02:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=dHMGRNZnx0+XKPiHFdw+h/5M4WgM6srMYbtDSiaFkho=; b=QYBPPtMM1EMizx0ESnOQSa70QoVvZpvAGGItWeiXvEhERUaFXZUE3tnPB7KnbwGJVE NcbAKM849GXjcIL62N0SuuJG5vWMjklCJ8w9n3clvdlOFJcKRZos/XBfLKJ3Mq2fslZs QRjgTSljhCkV6UFxVNCUBVH+KeXCwer4vV9QCIk6J6zLFx9MGkbNOslKwWdFPlZ6xrZr zDT+pZPMv5M7tXZCSCAG1CvFIVkMstBEgUN/Ky3hsVihfXjXjyMf4kcB7YpbeeKAWUT6 4ktVCIwzlsMWSNNOWZM9UuOSV/DUxo1dJyT+x0xDwD9oB3sQefIdZzpSq7Lqu72dOXyI lsdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=dHMGRNZnx0+XKPiHFdw+h/5M4WgM6srMYbtDSiaFkho=; b=lAAWtql5pf4ouKv6O03o9gDrIvZk/3RUgsSGEiqClOn/2CxWH6oJlOdj204xd5xghX 6WaklDBdtst6bemMZu/kDUF6p1+EUzqqjqhmxenkYZvV3ohHIR7JVEUpzRLwtKv+pgX2 b3C+Wm2RMHy1BBOlHnGcR+9g0xuqreLBFVr3ZtYxnWRhyoXraVE+koqdGP0zMZfIiO4Z 6FfewDyIqJhxuZbtao1dpgwHPiOW9peTmZJ2iW+MT6JZhKg6lNaTDD+9T8E2MZYIkMPB l9Iex6Lm2zT56lWfkyeu3UaTpOYl63IqK0wPFAPX4yNlduQrnfh9XfYiZc8s+UA854EQ LFQw== X-Gm-Message-State: AOAM5307gzvHNLOr1uelkXtX64RYtSweP8Yz/CgMcyhON75pTaYhOPa1 KticSkn3rSJLzV6XXVBGNTrk5rivJkEDJw== X-Google-Smtp-Source: ABdhPJzS4JUE1Kk/xqWGmh8/2XgO+UAIhHM7E1amuZcvb/DQrZB1Xwpde68JDWHPkqBO7E83yxj4rw== X-Received: by 2002:a1c:e256:: with SMTP id z83mr3852607wmg.137.1601372779489; Tue, 29 Sep 2020 02:46:19 -0700 (PDT) Received: from dell ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id i14sm5055806wml.24.2020.09.29.02.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 02:46:18 -0700 (PDT) Date: Tue, 29 Sep 2020 10:46:16 +0100 From: Lee Jones To: Krzysztof Kozlowski Cc: Rob Herring , Tim Harvey , Robert Jones , Matti Vaittinen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-power@fi.rohmeurope.com Subject: Re: [PATCH v2] dt-bindings: mfd: correct interrupt flags in examples Message-ID: <20200929094616.GC6148@dell> References: <20200917185613.5905-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200917185613.5905-1-krzk@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Sep 2020, Krzysztof Kozlowski wrote: > GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. > These are simple defines so they could be used in DTS but they will not > have the same meaning: > 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE > 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING > > Correct the interrupt flags, assuming the author of the code wanted same > logical behavior behind the name "ACTIVE_xxx", this is: > ACTIVE_LOW => IRQ_TYPE_LEVEL_LOW > > Signed-off-by: Krzysztof Kozlowski > Acked-by: Matti Vaittinen # for BD70528 > Acked-by: Tim Harvey # for gateworks-gsc.yaml > Acked-by: Rob Herring > > --- > > Changes since v1: > 1. Add acks > --- > Documentation/devicetree/bindings/mfd/act8945a.txt | 2 +- > Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++- > Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt | 2 +- > 3 files changed, 4 insertions(+), 3 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog