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: 1735553 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=EhVlihq+; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P6NsT3Qfvz23jG for ; Thu, 2 Feb 2023 01:02:37 +1100 (AEDT) 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-Google-Smtp-Source: AK7set+FkRPG8hSumbnqHsUwv85DTB210VSlH7Mng7XZMJ13nBeE48Ra+s7a4HZlBf1C8kg9wKc8Vw== 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