From patchwork Mon Sep 30 11:51:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 831647 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB185183098 for ; Mon, 30 Sep 2024 11:51:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727697087; cv=none; b=Qx272ttBQVu7WkhOilWO0z6QHJZKu/McrpJiwk19/8Z6gwzzlTfWt8IjbAIRg4Y/VMevFn+xclt5Bg/3xG7U952d8NI1NaI7D0xaZS3p7LHdnL7vHvllJ1oD8f8qFgUlKJ7vS4Mm+PLifHyhBedI/YsC7cdxGL2CGBcCtffd2Ao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727697087; c=relaxed/simple; bh=08fE7fYBrd9zzYFvSZGijl+vlzjHnu0p+at/BJfSCRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SRGgSq8TJ8q1ryVu12loEjxn/5hakBpnOli7LMEMWvjZFTxZo41FNj+cC7woIKmXFN2EyTGf89PGeD3EDegkRy5+eu0QBVhE81lpSV0UK3c7bKrUvPUfNt/7CGhjEeHXBlaJkOyxcphgS3EZ0ba5KGRw8NrKbD8h6p4tUpfllrE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=qowd6vvh; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="qowd6vvh" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42cbbb1727eso37561935e9.2 for ; Mon, 30 Sep 2024 04:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1727697083; x=1728301883; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cnhN28xiUyoIoByfTbaiA2O0cDcMJ2MqwIpLUCd9bBI=; b=qowd6vvhpW+QgPrXQvnCTJrPC3k1QOGfY7SOLDCDIXKrrOu5ofKXS4KB8QsyRBRtsB aDLTkQeHYigkj1TG8cWEfNjh6Ez4o1NfjupZEmQvdmtX308dEvA5LvzZhG0XMGJZOTkJ RguE5AJDOhgMuxIlM2xJ1Xh8utjLLsJApY+I0Np2ezANJ8fbSnU0SCwUV2TKdL7b5oqp LlWzT1gNb3VrL2xFR+z7jy/o6fkvN3RCFtvvnbLhFRWl4qo99rcRgsRLBGQ52RZ6z+NV WnGgowHXp/QD+ZZlDwRZtknxH4QL3gXaJH8hPtxeucNiODYzn4Cltc/bDkdkiC8O3EqW 0M9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727697083; x=1728301883; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cnhN28xiUyoIoByfTbaiA2O0cDcMJ2MqwIpLUCd9bBI=; b=lpkM20TBiBkQ0DQNxzcwP0K+NOWOGiJxfbGtQP+1seuFwiikTNnco59JY8Xk+HXhCJ q8/gVKwl4SmOwzh9fBwGdLXyrHMPdIymosTyJcmiYJa6mqLezhlCja3sczElLHnaiz3z e5vSrdy6r8JkvG8n7sTsXGrRubJOfCgvbwOVQ8J/jPC2ArTxAjSjemfKvHi4LgRrBFfA nRLAyQZgnwOdM2EvFH7ylqUEvpc1Dnx4hCMTNFuhenkX3Pl6Kt0a6rB7PELU1Q4hW4WQ IgvyOL986flmKnoa7b+sN5GzNCnC5+0lk3sSK9NkrFsRMZiMSGHkVs9VupoudzZnPmFr 83Kg== X-Forwarded-Encrypted: i=1; AJvYcCUlJJ+2bXU3w9/B5WAGyc54ytPh/zuZNsKErhuOWKkHay8uojRWQmT9CIWDvtThYfphzrHH+zhvZW6n@vger.kernel.org X-Gm-Message-State: AOJu0YwEFBDJtry/bdS3jeg6LGg5XRSCyI7Ko09FShm5PtN8QFGDL2FX 5G4e8nL/UHnTyYoOg0chO2MH04Smum+Rg4ylZQ73ngpsHN+quSDoYJRGDubN204= X-Google-Smtp-Source: AGHT+IF/MGS3gPBd6+OZGEUxxfHt2P526pBHts9h9Ayu/AEOFTFndhTAJWIXTMj2X7G41ltMrPoZyQ== X-Received: by 2002:a5d:45c8:0:b0:374:c847:83a with SMTP id ffacd0b85a97d-37cd5a6b581mr6341799f8f.8.1727697083178; Mon, 30 Sep 2024 04:51:23 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:8791:e3e5:a9ca:31a6]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e96a362bcsm148996985e9.36.2024.09.30.04.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 04:51:21 -0700 (PDT) From: Bartosz Golaszewski To: Keerthy , Linus Walleij Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/2] gpio: davinci: allow building the module with COMPILE_TEST=y Date: Mon, 30 Sep 2024 13:51:15 +0200 Message-ID: <20240930115116.54626-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski Make it possible to build the module when COMPILE_TEST is enabled for better build coverage. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 643747da4475..746f2a8f3106 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -243,7 +243,7 @@ config GPIO_CLPS711X config GPIO_DAVINCI tristate "TI Davinci/Keystone GPIO support" default y if ARCH_DAVINCI - depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3) + depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST help Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.