From patchwork Wed Feb 1 13:58:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 649164 Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp301366pva; Wed, 1 Feb 2023 06:02:36 -0800 (PST) X-Google-Smtp-Source: AK7set/3fGs0ZFkrlxW6K7YkarPq8jyRF2Tz/9aYb+mi/CYMPsmo2prU4+kc2ByDdMiIjzsy5HTy X-Received: by 2002:a05:6870:7386:b0:156:f2d1:14fc with SMTP id z6-20020a056870738600b00156f2d114fcmr1178602oam.34.1675260156698; Wed, 01 Feb 2023 06:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675260156; cv=none; d=google.com; s=arc-20160816; b=Jzbh1uaoyaCzAiPJCP74pJQGseG2lZm7T+gI0uneQbBXh3DEWZkDgdgECdcjTBy71r QJHUUHVcijTEvJKbV6FX4VQgH3dFaKIoI02Dvqdl8IrMUvmDthWG090ZvGjF1EFyftbe OkaFfPzQzrOvd1lcDIaN7uq/gO12TR9W6pvScFTIoHDf+F3H8SAnBpQZWZI0UK4RAuFu h5hbv8nAn7inR/Y+d4whVUN4OA85TGnD9Xz6NIxNtWzxnI0qbH9tCgSon5s/P59YnAaT I+37xlm0tjYEW/ca7bURltE9fsaKksZrRYbVXDEYmJLAjSCP57qkFr5FM56bWB9ByyyG EIkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DnPqZxZKlu/mwL/JZ5NDglUAkFtE4vKdj9ILH6v2XIw=; b=zS4zhdwohSAaCSERxNzy+3oNMkd9r7bsFjUOBDkwn+zu+R12qicytYUrmFBL4KfCP4 pkWwFHSJXHAIo5X8pvkrelt22wMvz5geGnb5Bh7Fd24RcdSv8/DSYktEH1gV/jfZg4jf fWntwh97yX9POTzc9kFhOAEf8TNBGbyuoG17kXgZ9gkCDZKV7IVLPAfodiYoebTvmmxb shjfGR7FE90Ry8IhOUNdIA8AgVeCj4RH0vBaacFgUr+GR4eRU6D11Ybiix5+YaYKnnMO p3Q1rRcsh7xEQNFJ2Gh2pjem/ob4qQTNeXzlDcqJ5nu5DywD3k8Stnn/ona32ViCtiH+ wBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EhVlihq+; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id z17-20020a05687042d100b001429ed359a5si5286096oah.202.2023.02.01.06.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 06:02:36 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EhVlihq+; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7522F85C92; Wed, 1 Feb 2023 15:00:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="EhVlihq+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 470E985C71; Wed, 1 Feb 2023 14:59:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BL_SPAMCOP_NET, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D852585C69 for ; Wed, 1 Feb 2023 14:59:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pl1-x632.google.com with SMTP id e6so10294651plg.12 for ; Wed, 01 Feb 2023 05:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DnPqZxZKlu/mwL/JZ5NDglUAkFtE4vKdj9ILH6v2XIw=; b=EhVlihq+WosHPHKKKCjNJXhaQFHITtp0SbLf23UWHRRBUDjN3FPnizfBbUpbRBMXJd 4aYJrHBfJcDQw0C6zMIth1klyaamcGkN2ie0PSBmMUguXFsb38SJV6vx6gyXCyYLp+XM VViz2+UH0M9kldwdDuy688H27DRtf1/8UzmvZ9jKRYbGkjwb5CKt5cvtJZxKXvdQL/zk G+fc6H2kURPD1vjWT4ORp1Stq2N6cQiH0AwOaFbowmvnakfLb4fBUUIyYv0VZ1qXZbAe 7xC3ogcTjhKj9KbFM0I5/GONTdSmrC4qY1WZP4crkgvbsDVbogpcykvnDflkbK7DbsWQ /9Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DnPqZxZKlu/mwL/JZ5NDglUAkFtE4vKdj9ILH6v2XIw=; b=1rY6H1BvxX7hwIr8FUtHQDj5iCCnnabKOwmMac9exb3/mVm4Fzh/ABYjnIwmASLsU9 fhT9Nqd4MeusCy7NyMQKySY9/LlJRu5coCF1eT6ndPNqC4f9Aet+f5/RVzosDqavzbqh 3Ut2ano3l2lYIi2t7QeS8gFq0Oju7T9sgUu3t0cLuwwl65tkfvEjmSZ3mHAEeU7pM0MV qy24tJnyVS++dU8UrHzrpp/iBCVNEtCfTTSgK8T8YehSiIRlyR0jC3o2xP0eogo4jwKd 3VZUzcM1QgUq+dTcOpzHHOOGrv7ZkNUgID4DHaciQMFqwkF+LGOU2Ta6ym5OaiSlgzM5 5dLQ== X-Gm-Message-State: AO0yUKXynmmGDKvta5BB/WA3I43w5CAniEALjFCAdoxVze9OYycVg+3P BiKjccta/C+WC4cEl9bMvEH6Ya05IUKjeZtT X-Received: by 2002:a17:903:2285:b0:196:5cb8:60e6 with SMTP id b5-20020a170903228500b001965cb860e6mr3704845plh.45.1675259962807; Wed, 01 Feb 2023 05:59:22 -0800 (PST) Received: from sumit-X1.. ([223.178.209.222]) by smtp.gmail.com with ESMTPSA id i8-20020a17090332c800b001899c2a0ae0sm3636759plr.40.2023.02.01.05.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 05:59:22 -0800 (PST) From: Sumit Garg To: u-boot@lists.denx.de Cc: rfried.dev@gmail.com, hs@denx.de, joe.hershberger@ni.com, stephan@gerhold.net, mworsfold@impinj.com, lgillham@impinj.com, jbrennan@impinj.com, nicolas.dechesne@linaro.org, vinod.koul@linaro.org, daniel.thompson@linaro.org, Sumit Garg Subject: [PATCH v2 02/14] qcs404-evb: Enable msm_gpio driver support Date: Wed, 1 Feb 2023 19:28:49 +0530 Message-Id: <20230201135901.482671-3-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230201135901.482671-1-sumit.garg@linaro.org> References: <20230201135901.482671-1-sumit.garg@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Sumit Garg --- arch/arm/dts/qcs404-evb.dts | 4 ++++ configs/qcs404evb_defconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/arm/dts/qcs404-evb.dts b/arch/arm/dts/qcs404-evb.dts index 0639af8fe3..c8bcf9f71d 100644 --- a/arch/arm/dts/qcs404-evb.dts +++ b/arch/arm/dts/qcs404-evb.dts @@ -40,6 +40,10 @@ pinctrl_north@1300000 { compatible = "qcom,qcs404-pinctrl"; reg = <0x1300000 0x200000>; + gpio-controller; + gpio-count = <120>; + gpio-bank-name="soc"; + #gpio-cells = <2>; blsp1_uart2: uart { pins = "GPIO_17", "GPIO_18"; diff --git a/configs/qcs404evb_defconfig b/configs/qcs404evb_defconfig index dae1551411..d64cd74269 100644 --- a/configs/qcs404evb_defconfig +++ b/configs/qcs404evb_defconfig @@ -44,6 +44,7 @@ CONFIG_DM_PMIC=y CONFIG_PMIC_QCOM=y CONFIG_DM_RESET=y CONFIG_MSM_SERIAL=y +CONFIG_MSM_GPIO=y CONFIG_SPMI_MSM=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y