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 E3A69C4727F for ; Tue, 29 Sep 2020 09:46:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97AEC208FE 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 S1727937AbgI2JqW (ORCPT ); Tue, 29 Sep 2020 05:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgI2JqW (ORCPT ); Tue, 29 Sep 2020 05:46:22 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EACFFC0613D0 for ; Tue, 29 Sep 2020 02:46:20 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id v12so4088826wmh.3 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=iHqAggh6kEZXbGpkA3Uz5OHTpfKiCtLGtcA9L8WpnoRvqZHCxjiZk3cgcaexDugINh w0woe8BWYfwo/Tvf6LfhlABJIbzBAgrjdKyeG3jC6+B2yuZAdqgF8a4ozgjbrqGCN3bt LcoUXXhu0dldOz3b5mYIe7JVBI90Lmmcc/UIHibC47mcWtvrd6tdVceFgsESyjZEzbrD juduotBtfkkmNbmwCd6mnD+05lsdTtcPylYnt+y7BBBr2wU931N8RvD1Wc8EyutXfkhL 5AYd5Xkey8MDepMyoCdt8ZU9OatfeAm3nfUmsghXoSYTu9k5cx6dMYNuZmxIKsFDStff cb1w== X-Gm-Message-State: AOAM533ISAisEl49qSstN52/xjCgaEEzuIYWgUKQ4Jq9ecyDDQ4gOOWm 7h20YgsDkkT7ExQt7abMo0IiPA== 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: devicetree@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