Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2416938pxb; Fri, 17 Sep 2021 09:16:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb0tJ5ji579XzV/u4tcP66KYqZckK/qMDUmOG6WAp0bX4gwcpT8qUm2meTJ4SR3FMRATTb X-Received: by 2002:a05:6402:c8b:: with SMTP id cm11mr13285529edb.368.1631895399678; Fri, 17 Sep 2021 09:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631895399; cv=none; d=google.com; s=arc-20160816; b=dJdHRsprdue5RfqwI6eiYpaz3wEwAkaduhioqWN3IzzmcDzz1PEIgM19bgG2vCGRXA ML2UOHSlZDh+MSj9vZ3UteZTEvXzoulX3hxBDRH6fQ5FlSBJd8LP+Jgs8uxXTHdsLTqN ncWYS8RL5CbrMa1LXKWqScAO48Uyf/J+jcJVHxU2Mf44p8PCxx34mQZeHFBRnbpCoGex mieocbQFAnABQLqHeCMSDauXKYPH7R32akJwKZ8vNa3NqD2WaKhaqaJtOhQvUu/V10kN U550Z4C7rFrAxXFeLcQuFL+RbnNRcKNSHHt/47JTen8k7Y6rF8/I/mMZn65q4+G3Ve3J Z7KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=uFxktZTFTvrgPpVfXvx5wJ9NT0aZLesc6X5ChP1iv7A=; b=ogkoADfw5Ol7OMZ6SYtIOR21QEAvgPN5/rXVfnv/3quo5aXRiYVRCl2EeFhQt6fXlE fmaCEDJtSLh/j2O7RTXl5oP2DKeExuKwe9dtJnehZbPp0RRtmkbcynSn9IDYZiUj057w EMQvVA21f9n2wIRWzb2YZN0yDdgpJJJoBjvWj5CvvphIOYk4pIgh0WWqx/rLsqhnCrMu T9b505qu6sK9HOItvfJFzpaARbmWjd+y/A7llieBPkXUZ8gQrIPrUmpAOhIRsW7r5NGZ Be3LwSkhlzq4z/1cq4q9IKlKNtqEyQtzcbbLwuRN0qSQYYUyibzl/pM29VvrOTusnVCY Q5sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="i/ncKKPI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eg38si7460090edb.243.2021.09.17.09.16.14; Fri, 17 Sep 2021 09:16:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="i/ncKKPI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244976AbhIQGI2 (ORCPT + 99 others); Fri, 17 Sep 2021 02:08:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232726AbhIQGI1 (ORCPT ); Fri, 17 Sep 2021 02:08:27 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E854C061574 for ; Thu, 16 Sep 2021 23:07:06 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id i3-20020a056830210300b0051af5666070so11528490otc.4 for ; Thu, 16 Sep 2021 23:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=uFxktZTFTvrgPpVfXvx5wJ9NT0aZLesc6X5ChP1iv7A=; b=i/ncKKPIpr+3o9b6pA0DCzCBl8WUKX1Ag2tuxiTlv5DFjg2x0hUOLgQi34zNW/rawU vC6nF7DwJ49OTMrhSPq1WDne735OUV/Q9jbN/spxDPPRnkqpOh/AHISPiJjUeoj/vdLZ y4j4lxX/R/X0aM40ICqquVM9oB2b3UQr+OXIk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=uFxktZTFTvrgPpVfXvx5wJ9NT0aZLesc6X5ChP1iv7A=; b=vhQ/Ur1olKJL7Y75VljhRsnvtDgyO4dpsKRomtZvp7GYxWAOh1Y+jN2arAxyFjNeez gfBZnag8D18srU6wJtemZoJ5sCL9vK/1TRvFbG7ZnnxBf5cSmz4qj3dt3XHEDxLzBlti pBs3f8UUaDHsOnNV5MEqPi/VXnxx8almbjC6mGHFE/mVjFFACTB35lzitkWApwpUhpR+ NKoksFfXDyYcsdwUeDgs+rnTDzBxTVgKb3iDh2KadMsXTcIjADmviT1VPQFi9ZNb65AH thWlROr3bUUd7mFgll90tjlfCOvB+6rHlvU+smeLMg9P+AnstU5h1sp3JKkBUVIUpWls h+8Q== X-Gm-Message-State: AOAM530pKwDD/FTmwLLzamQgJ7R79X0AA1mwIa+U+YWZe+jvM0+8hddx mrJqsyNlSoAhsCHufuLmnKlnDMmICFuWhgLknZ3Y7+pkSgM= X-Received: by 2002:a05:6830:719:: with SMTP id y25mr7898467ots.77.1631858825850; Thu, 16 Sep 2021 23:07:05 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 16 Sep 2021 23:07:05 -0700 MIME-Version: 1.0 In-Reply-To: References: <1631798498-10864-1-git-send-email-skakit@codeaurora.org> <1631798498-10864-3-git-send-email-skakit@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Thu, 16 Sep 2021 23:07:05 -0700 Message-ID: Subject: Re: [PATCH V5 2/2] arm64: dts: sc7280: Add volume up support for sc7280-idp To: skakit@codeaurora.org Cc: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , David Collins , kgunda@codeaurora.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting skakit@codeaurora.org (2021-09-16 21:08:11) > On 2021-09-17 00:32, Stephen Boyd wrote: > > Quoting Satya Priya (2021-09-16 06:21:38) > >> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > >> b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > >> index 371a2a9..cbbb0ee 100644 > >> --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > >> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > >> @@ -12,6 +12,26 @@ > >> #include "pm8350c.dtsi" > >> #include "pmk8350.dtsi" > >> > >> +/ { > >> + gpio-keys { > >> + compatible = "gpio-keys"; > >> + label = "gpio-keys"; > >> + > >> + pinctrl-names = "default"; > >> + pinctrl-0 = <&key_vol_up_default>; > >> + > >> + volume-up { > >> + label = "volume_up"; > >> + gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; > >> + linux,input-type = <1>; > >> + linux,code = ; > > > > Is there an include for this define? Looks like > > should be added as well? Did you try > > compiling? > > > > Yeah, it needs to be included. > This header was included in pmk8350.dtsi which is added in this file. Alright, got it. If you can include this header in this dts file it would be better so we don't rely on implicit includes from other files to get macros. With that change you can add my Reviewed-by: Stephen Boyd