Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp239661pxb; Mon, 13 Sep 2021 18:03:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCBhHmr3oO6iJysGb6dugPLQIFgFBuLvwmcr0I3mdtCGudXuwR1g0l7Mq3tOTqlzbTRiTZ X-Received: by 2002:a17:906:f8d4:: with SMTP id lh20mr7894963ejb.382.1631581435378; Mon, 13 Sep 2021 18:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631581435; cv=none; d=google.com; s=arc-20160816; b=gaxRxZnYVrqFjVJUveKxYko+s29XbVNsbpbgCtHsPubiBULbmem6ML3m1kwlySPC5r ajK2szlu/xCiA6RTxgoKjyJv1qawYsHIx4JRw2czdhvBl6FevPkdasnnD7cznsVCIWqX hioX7mlY4JXV8xRatvaXqeJ00Q4FmsmOuEPqBsSXOYDXz/M2YjaAF+pOVpQx5zDdP7S+ ExH3l0/lMVJhLOnexuVgv6WVm+jNk2Xug8qiNBi0p8h5T71Y8MfKghk8LBmYMYu1/Z7S uaYnRoYjUM/LOr34kv6MftVaRdqtqcXaYN+pibgipBLPPRWs5Xu0WiZtsBwvq+1G6Gnl KTzg== 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=7IuA3oPjzFr/omXOUi17jMbFMk97H562iUj3toh7zkc=; b=bCHdBHg7373BW6LJ9KxdmQr8Wj5zFUvCIj0lIs9iILnEHpe2RmZdazr7KY0vrtW9aQ i6C5OBWLRkhdXebBAE48XpbvLH3desX/9T4YOmlokNvJxdjdX+doY5nzltpmV+5TOsRY DTbDDMSYFQtDTKZ+y+2No2RqiJyKr188sWJTUlYNN2lVjCP6ux44C2n0fDdhPkeY9Iq5 fjZm596ASwG9yjXEMJpL6m2jHuw2OHrfJNrIYu3r8A+wAQ6cd4zCkyWCibnCKtgR8ljE mzazPprVPHs+Q5rzuI5baCluPf3ZGQ+OVgY7FziOXH99536y4D7nw621BLn/ctljkQI/ FsxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FruCX59U; 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 x18si9502321edl.617.2021.09.13.18.03.32; Mon, 13 Sep 2021 18:03:55 -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=FruCX59U; 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 S240626AbhIMUCY (ORCPT + 99 others); Mon, 13 Sep 2021 16:02:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237491AbhIMUCX (ORCPT ); Mon, 13 Sep 2021 16:02:23 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA399C061574 for ; Mon, 13 Sep 2021 13:01:06 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id j66so3551196oih.12 for ; Mon, 13 Sep 2021 13:01: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=7IuA3oPjzFr/omXOUi17jMbFMk97H562iUj3toh7zkc=; b=FruCX59UkRgRj224lR6XRX42UOlu98yoAnbCZ/qDTj4/xumAI+NMGF6tC6rTwLoTux PSkF8bTCUlMUrX6BBF3ZlxE5N3BNR7CT8ajdvBKWkhOisM6x7t6mg9wRBtV3FSOkZdit ECHdRplqaK9jzRu2XY9JOqTiLcEmd3bWtHfb8= 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=7IuA3oPjzFr/omXOUi17jMbFMk97H562iUj3toh7zkc=; b=SLktQHNUIkdYTehkoytNdfpZXIr7YZn2HtZSHwsrE7LJTioq+h67025BZnpdqlxl+u 08xmMNhpxs3I2/G8waoi8LnshEH59s4x4hTZ5WFD+uGbZb27g/UOaq1H77+5ANFXE62d 3CthnU2WsLigQV7+MXn2oYnw4/+XEG7yDHb2pB9AV9y0iEBSyNLmT39mtqaEWV8I+VUp cyslB9wZvhxpD0j3SLnSQFqVLwIXacFu3udoyH4MSawkazALgT7teLUIOZ+MF/kweBhQ fqhASSl3nCZBPLsqbm6zCwCnLJvjZevth1ZtVkqqkBVlVaDxj2TqCHIvZCY6/9Tw+W4u mZoQ== X-Gm-Message-State: AOAM532v9anJX6K2QCyATQtwIwb3YKujtsM8YPSuCz87TuqjaWBkCSS+ Z4r9o4OODAv2RBa2IsVEvoif1FvRQ+xsecZ51ybtLQ== X-Received: by 2002:a05:6808:909:: with SMTP id w9mr9094084oih.164.1631563266294; Mon, 13 Sep 2021 13:01:06 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 13 Sep 2021 13:01:05 -0700 MIME-Version: 1.0 In-Reply-To: <1631167288-27627-3-git-send-email-skakit@codeaurora.org> References: <1631167288-27627-1-git-send-email-skakit@codeaurora.org> <1631167288-27627-3-git-send-email-skakit@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Mon, 13 Sep 2021 13:01:05 -0700 Message-ID: Subject: Re: [PATCH V3 2/2] arm64: dts: sc7280: Add volume up support for sc7280-idp To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , satya priya Cc: 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 satya priya (2021-09-08 23:01:28) > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > index 371a2a9..434c1c6 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > @@ -239,6 +239,26 @@ > cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>; > }; > > +&soc { > + gpio_keys { Should be gpio-keys. Node names shouldn't have underscores. Typically underscores are replaced with dashes. > + compatible = "gpio-keys"; > + label = "gpio-keys"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&key_vol_up_default>; > + > + vol_up { Should be vol-up or volume-up. > + label = "volume_up"; > + gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; > + linux,input-type = <1>; > + linux,code = ; > + gpio-key,wakeup; > + debounce-interval = <15>; > + linux,can-disable; > + }; > + }; > +}; > + > &uart5 { > status = "okay"; > }; > @@ -284,6 +304,17 @@ > > /* PINCTRL - additions to nodes defined in sc7280.dtsi */ > > +&pm7325_gpios { > + key_vol_up_default: key_vol_up_default { Should be key_vol_up_default: key-vol-up-default { > + pins = "gpio6"; > + function = "normal"; > + input-enable; > + bias-pull-up; > + power-source = <0>; > + qcom,drive-strength = <3>; > + }; > +}; > + > &qup_uart5_default { > tx { > pins = "gpio46";