Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5390442ybl; Tue, 4 Feb 2020 13:07:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxywKYBgys30gC0Lj1qs1z9cCrGMwbioRcUy9Qd9LfCQPz9eA1vcH6Fq9wD00RMEYb3VILY X-Received: by 2002:a05:6830:10c6:: with SMTP id z6mr24538346oto.203.1580850422135; Tue, 04 Feb 2020 13:07:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580850422; cv=none; d=google.com; s=arc-20160816; b=ylU6lQlO7lhyxVItuDGFxBrT7E0Q1oLOC4a8+aYto1F1lqjIOIV7m8wKlOJ/n4VR2j 2rPrvUPPQicjDk+3e8w39Y9bW+HTfSQkq6Z61XgKh1uNYc4mbzzMDAdwYgbviePYfd0w cXkLpJmbZwNL45fvtT8wTlIZv7lWrib6VIc3b4BIUjy2upEHock5Zla+vkebTiHCwKvb L7GKVS00n2QCX0IIjNyYjpXrjAItwzyv1M2CjnOXNtixr7bE1ZTRAirdM6pu1fdgbCUQ xE03Kyu60nnKfmYbCrAQibmbssSzwNdTN3IufSsPrF24cKZHufvGPg3VDHRWCAZa4nZK ZgHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=D4n97ove0a7U6N3IS1aQ2vAxrDe154szNKA6jAhkdMo=; b=m3yvxh3zqDT3WBFzWa9bMfnzi8nkgbhh9mxP1Wups6kmOuSHywSrViEYwCSaB0jOYX 34dg+haHOe4Ygygg0YzpRo0t2VGbmrOSWyWbxE/oUXHahOENn7UhlE8wfeHmH4mzHGSB ppbPw1N5YnrVcRHcoMTELJcJe+QnVGG3+ZLjuf7N1YK3GxrfvNiQRmQjndqbvN7tdzWj m3KEG2b85dpnRlKak0bbxEzVeyemcd4r5BYWvTsKA+DPMewsg28Hg1CT36uOy5izo6iX Dp3m3K6ujgtZDgjnbkJUE2APE9tF1kPp3BeJr6nOksSKvbTvQrC5LJkuB2AqlTN8iund 43dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=TbyZS2bz; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si12662609otp.279.2020.02.04.13.06.44; Tue, 04 Feb 2020 13:07:02 -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=@google.com header.s=20161025 header.b=TbyZS2bz; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727461AbgBDVFk (ORCPT + 99 others); Tue, 4 Feb 2020 16:05:40 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:51971 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727389AbgBDVFk (ORCPT ); Tue, 4 Feb 2020 16:05:40 -0500 Received: by mail-pj1-f66.google.com with SMTP id fa20so1954899pjb.1 for ; Tue, 04 Feb 2020 13:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D4n97ove0a7U6N3IS1aQ2vAxrDe154szNKA6jAhkdMo=; b=TbyZS2bztW3/Ni9l0vkFs9C+yhK/6c5krjjIMTRhDNBsGG1tX8810Lj+BoF8UXuDcO a/3+4s2aHxbBkIA69OsqZm5vb9+G2A/c9ApnDoz/zYnkjEeCv/ZQI+HvLDKrMP1gUabl Q7OeZX4vzWOienIvjsidNHxzLFvqTaa2Bd22dWXCKmIEW/ksl/86SU1FE+XJbSXffnvE yczKot6tDwKhTKMxstmRsF9VYd2ZJWo4OvS0P0RBG2XHB5hkbw0H6RfrQ2sL3fZHgtyV bhiN+L/g3IcqWALGO4Abp+tEHnSwqiEBCmD/YKHNCZDq1FQTUvsU9q/57oXC4OI39fDG ShVw== 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=D4n97ove0a7U6N3IS1aQ2vAxrDe154szNKA6jAhkdMo=; b=OJ6fpPceL6Hxp6UhivOtSC9dveJdBdNaElKiwP/kXpbUqEysP/QgWIe8UVj0LgBBDJ mJlzFpaIgF5bCKaF1hrhEu0in22CAljxL2EQXvCqZpeSI6RaJVpyJ/5DbnMOdWKAM4xW UA8Vpb44wN39ZO3n7q2y8f5620dJ0VFivaxjLbT4PmNFZoGVqTFCMfYUGVMcummoQlpy ZL9kjMuBi7ULudG+3IvvUJECRJ1b478Xvhd9hxNHHXDSR2o0jn8nUcirdeZZXcMqXr/P u707NwwJsEdJ32K1/aEVoB5AtaH79ftenXC+2MlwTq6HpiE8ooHi92rG63DcezxBkJav rJZA== X-Gm-Message-State: APjAAAVNftWk/W8/HdbAsbKwsIaC8/nDqnIGxyjKvxWCRw5cJQ7Pgaca kOsr8bZLaGk8m7NjjwrsrPquBP/R31gdnuH6lyyEtA== X-Received: by 2002:a17:902:fe8d:: with SMTP id x13mr32325551plm.232.1580850339164; Tue, 04 Feb 2020 13:05:39 -0800 (PST) MIME-Version: 1.0 References: <20200204193152.124980-1-swboyd@chromium.org> <20200204193152.124980-2-swboyd@chromium.org> In-Reply-To: <20200204193152.124980-2-swboyd@chromium.org> From: Brendan Higgins Date: Tue, 4 Feb 2020 13:05:27 -0800 Message-ID: Subject: Re: [PATCH 1/3] i2c: qcom-geni: Let firmware specify irq trigger flags To: Stephen Boyd Cc: Wolfram Sang , Linux Kernel Mailing List , Andy Gross , Bjorn Andersson , linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, Girish Mahadevan , Dilip Kota , Alok Chauhan , Douglas Anderson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 4, 2020 at 11:32 AM Stephen Boyd wrote: > > We don't need to force IRQF_TRIGGER_HIGH here as the DT or ACPI tables > should take care of this for us. Just use 0 instead so that we use the > flags from the firmware. Also, remove specify dev_name() for the irq > name so that we can get better information in /proc/interrupts about > which device is generating interrupts. > > Cc: Girish Mahadevan > Cc: Dilip Kota > Cc: Alok Chauhan > Cc: Douglas Anderson > Signed-off-by: Stephen Boyd Reviewed-by: Brendan Higgins Seems pretty straightforward to me.