From patchwork Wed Feb 14 16:24:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 201016 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1334697dyb; Wed, 14 Feb 2024 08:29:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnGwvuF9u7f3QlgwI3HKlzqmPNEn/bSN264RVgAFOy+yJwzADSHz63XI3RJIadezmFcJt+EEpCF5D63+T0y2ZjcxPCXg== X-Google-Smtp-Source: AGHT+IEEET+8tWOcYHDkanh+/P25cx+H72n5/2VD5QrryI/luiiIbDB+jToqMQ7Xbx/yRFuI3jGx X-Received: by 2002:a05:6808:404b:b0:3bf:f3c2:475f with SMTP id cz11-20020a056808404b00b003bff3c2475fmr2859476oib.46.1707928193283; Wed, 14 Feb 2024 08:29:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707928193; cv=pass; d=google.com; s=arc-20160816; b=yxBzamDY/kKSczdE0fneL1LU8qyt2VxVqcdwPlGQAkaTkbvKVcUM9WnLUz5W3iENsd Fg1OHODYjySBExPEbHW0e4s/K/QWKNSHKbDtZAxI9ILVzc3wsVDQoaogibaA2uh2iBMB 97gR+QHItQgyoKiQP43roIRGEDbA1AuF6bXlYJxvvifMPaA8pFzOecC4P3eDQhVYfjWH sLaxLN9xelprHjrFejsxk5cHSXq1tNkraqWu9jbg6QrnX87wgz8IE6DTFcJbfZuC0c2i 1qqb5i6o460A+cHvw0LL2M7lCwfpJJhLBtX73o+JCnm5cYktQK6cEL+NZ0cD6KyJ2cgi ep9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=bbs3ElSU8A2LGjg10D6v+FLxDQ0rBkyPGCcJkK3mAUc=; fh=bPWP1o84pJZh15zH17P+RznrcDIHTMrzzH2uYm30AnM=; b=bZG4sefBGnEtL8H6CnIAoVo5xSK3oE1uQBhK2tXiKxf6pHWEa6c/BWT6LrXcUWFmnz IIVDB6fldH24ELZVOwYwfZsXXwYt8gcKAAdXPkdEw2jkoL4FX7h9ynZ9qJGGTQlJMNEZ x2d1Pu2s3PY9/gniCjm/OlCIIZVgES5fBIXAZKmpu0ceAeVPaAsNOaVWEgPBF7ukPi3d 2cS58QaOg2XzsuRbPoLTzxOC73tdnPfqcxLURpLsJxXshNOmuHJMxmcY4b1w5zUAt07S XfJZs3ymRCPR6LvbQPirvyDQF4YzkhUQl7Q6Qjf2ds7m4VlI77dwRPU9CZhODv/A2OrM wm3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MLKn5uRO; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65530-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65530-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCWTCa3YiIEofCms6Y2bLAddTulUP8BZwZqes6z3vi0xrva7UkOFUikQgpGf3p131xsZyyRgypg+pkoJvqQykhdWWRKsoA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b26-20020ac8755a000000b0042c7ce7e3f6si5312455qtr.451.2024.02.14.08.29.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 08:29:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65530-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MLKn5uRO; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65530-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65530-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 043441C2203E for ; Wed, 14 Feb 2024 16:29:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F5CA69D1F; Wed, 14 Feb 2024 16:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="MLKn5uRO" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B91E612CE; Wed, 14 Feb 2024 16:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707927903; cv=none; b=ftjcMGLxS0gc8qZCACC+nE21FnRT9buInzhO35OgEdJbl7Y8CS+GP0pqsqV6vrZVD26qda37hpp/p8vPkiNGNwc6jvMjRqUylIEVh53fAuQs8KyjJTgx5W+ebrEl/2rMj4AtvtvEKwbxCZLGz2JZX9uH28DOTR3YD+4hyCspfkU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707927903; c=relaxed/simple; bh=8zvumhPtc39Rn6Dl8YVkzpMU/rbaGUWpjhUMdaBOfN8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=moqMgmDcmK9P7p1IccmsY9DngWyqmYGk/x9g/J1L//vWLQcH/wkZnadEBDFvrJg5L0/g4dY25uD4D3MyBQo0yj2VtVm/UBmHoG1i7vI+XaQuG4Py2z/laLlVCfSWO79X1OSlk07W5xiPfvAN8nLYdSyw4ShWGi5aLsO6WxRT8PE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=MLKn5uRO; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 045C160012; Wed, 14 Feb 2024 16:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707927899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bbs3ElSU8A2LGjg10D6v+FLxDQ0rBkyPGCcJkK3mAUc=; b=MLKn5uROJWve1MycsAobaCKu9Y2dAO1uLRpoAzIvndebUaFrC15lfPMM2AfsFhFMeCLyU2 0vn92nOrXmhP2FzWv37sMfaeya2L27g6Q1T8QCgqhYcfllkAl9e6rCwV+6a4UM/SmjW9uO Kgmz0nkhDRmFGvrUcowpmbWX/jatZ5//RwsGZzjMflVtwPJk7OEWHhpyT9ydZp5HzB2Aj9 +MEr0oT1wTfzES6M2GAkwswA2CzkASr5KFm/PajpC8EfRgt8WkolDQj+nZrhH6ZS1uakZ2 VGpc6h/Qif9g7d/wrKQGXi/q+8yYlBmG95TxbEQgdTPsQjzx6W3S9WjY9yuuNQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 14 Feb 2024 17:24:13 +0100 Subject: [PATCH 20/23] MIPS: eyeq5_defconfig: enable GPIO by default Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240214-mbly-gpio-v1-20-f88c0ccf372b@bootlin.com> References: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> In-Reply-To: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790892513015907704 X-GMAIL-MSGID: 1790892513015907704 Add both CONFIG_GPIOLIB=y and CONFIG_GPIO_NOMADIK=y to our platform defconfig. Default config is CONFIG_GPIOLIB=n. Signed-off-by: Théo Lebrun --- arch/mips/configs/eyeq5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/eyeq5_defconfig b/arch/mips/configs/eyeq5_defconfig index c35c29a4d479..6f052d4c5e58 100644 --- a/arch/mips/configs/eyeq5_defconfig +++ b/arch/mips/configs/eyeq5_defconfig @@ -66,6 +66,8 @@ CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_HW_RANDOM=y # CONFIG_PTP_1588_CLOCK is not set CONFIG_PINCTRL=y +CONFIG_GPIOLIB=y +CONFIG_GPIO_NOMADIK=y CONFIG_MFD_SYSCON=y CONFIG_HID_A4TECH=y CONFIG_HID_BELKIN=y