From patchwork Mon May 27 05:38:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 13674582 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 04CCCC152 for ; Mon, 27 May 2024 05:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716788326; cv=none; b=QehFYn+XCGTO2R8r83z6fY6HPKvHnJFJB0G6lMDX22fgVVg52lGnn52gMNiNzYdA4ddF+5Ppriz/J6Da0oNOQQo0589tX4H6i+M4TOhsjy5a+PmBfCso7GJcF7bqRVsLF2WykXdDFyjAgwR9SxSJRFmpsjht7wgyCunmUDHso4Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716788326; c=relaxed/simple; bh=5sg5fBwG3vrMNfKaPklVtBjDGFjvu3Nj2ornLEhhTIE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SuKV9uKBZX+UUniSJ/Y56k6za9DI7sd4NXBzLkXy7B/+ZHjXjb9kiwUQR+5xy6tTh3l/ZqRLVYjrE9S9BYhcyRszN2KPq1gb6hzaeVKsuFm4CGq/oCvRPrFK3GbTVxcS/t1Ko8Pu7AXI6Cj3qSRREmQdz/RRkk024jUqOqHOHJA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NRu0XEoC; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NRu0XEoC" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6f966840af7so2199124b3a.2 for ; Sun, 26 May 2024 22:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716788324; x=1717393124; 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=NKMGRGQD4IsOADQqi/JUkrlmutDXh4ub1soGxeAwulc=; b=NRu0XEoChnPQdFwQ2ITQkm1eRr3vx71/Qxyy8iF0lswMMPzNckGLCh9hXKepLvs1sQ Z44728iLvKuKlxlLztnF3qicTSPrFgcviyuC5trWUxedi64YeZZPUw1QZCahlwv1HZf/ 9l1lBDwdVY+KfRtkczSpLt4q3klMsRnp7n78fhjmS7QV7T01E/G2qVdOp2ILOHkc4NxR rg3YXtef9mPAldQH7xgO1FHtEjbQrc+Y1hvD69bPdKW78qjVdAiH5zrTu9iBsHxL10dE vt3WO6eFC8JMNou3G6ZaWue0ZTH5Jj8L0mLyzdzuYfVflmmUaBwUd1VUFQqcC0NgnfBz 1Meg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716788324; x=1717393124; 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=NKMGRGQD4IsOADQqi/JUkrlmutDXh4ub1soGxeAwulc=; b=u5IcJMDoWEjEvSBjskYgrCkBy/bMQeGLP1g+HUpIY+MVVavUKtVpzhjMaRlOauAfxW y334lyVLmPCwCWR0dgpoy/+3voRY/BKgE5YmsCWcLK6/r6u1Y0urx+5eYrT9CWEIqOhz uaAs/8inaF8oWtdBsYCxj9zdWKS7lsHbgmdKpJRNNgf4RqHM0oMbQcO21OZO4F1T7Z5m Pn9CNCAfjnpBtGADpfw51OXP2gxBIqrIi7jqLHaPtQNj/4k6SUCcR3b5xp2g798Neu5P tKN4pLmFOQOCnF7jjrioDg34FVVX8ZYU427vglpgDBg8VcwhPwT65g7dpjXMKcmoZ2F5 l1XA== X-Gm-Message-State: AOJu0Yz88gxyhN9g6s/ioZhx2BLrHWuSDyA4K3c0AhmbN2QI4r/sbzXj cjJhP/0sgMqxfnmIFb26N9nGXggRNZwGRxXuK8pckGk+DLIqo2WYTpvgbhIFoGw= X-Google-Smtp-Source: AGHT+IF3zV3yRfCSi0aSgdVrHSQCZGHUpTbemfonAMcARdMq7SQntkUJSeSPc77K34YqCaOQLMkPwQ== X-Received: by 2002:a05:6a20:3c92:b0:1af:d647:3108 with SMTP id adf61e73a8af0-1b212ced2famr9606539637.2.1716788324134; Sun, 26 May 2024 22:38:44 -0700 (PDT) Received: from sumit-X1.. ([223.178.210.94]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f44c9684ecsm51903745ad.177.2024.05.26.22.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 22:38:43 -0700 (PDT) From: Sumit Garg To: andersson@kernel.org, konrad.dybcio@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, stephan@gerhold.net, caleb.connolly@linaro.org, neil.armstrong@linaro.org, dmitry.baryshkov@linaro.org, laetitia.mariottini@se.com, pascal.eberhard@se.com, abdou.saker@se.com, jimmy.lalande@se.com, benjamin.missey@non.se.com, daniel.thompson@linaro.org, linux-kernel@vger.kernel.org, Sumit Garg Subject: [PATCH RESEND2 v5 0/3] arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS Date: Mon, 27 May 2024 11:08:23 +0530 Message-Id: <20240527053826.294526-1-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add Schneider Electric HMIBSC board DTS. The HMIBSC board is an IIoT Edge Box Core board based on the Qualcomm APQ8016E SoC. For more information refer to the product page [1]. One of the major difference from db410c is serial port where HMIBSC board uses UART1 as the debug console with a default RS232 mode (UART1 mode mux configured via gpio99 and gpio100). Support for Schneider Electric HMIBSC. Features: - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306) - 1GiB RAM - 8GiB eMMC, SD slot - WiFi and Bluetooth - 2x Host, 1x Device USB port - HDMI - Discrete TPM2 chip over SPI - USB ethernet adaptors (soldered) This series is a v2 since v1 of this DTS file has been reviewed on the U-Boot mailing list [2]. Changes in v5: - Resend again as the v6.10-rc1 is out. - Addressed another nitpick from Stephen. - Collected Stephen's review tag. - Warnings reported by Rob's DT check bot aren't related to HMIBSC board DTS but rather they are due to msm8916.dtsi or extcon-usb-gpio.txt still not converted to YAML format. Changes in v4: - Dropped IRQ_TYPE_EDGE_FALLING for pm8916_resin given the expectations of Linux kernel driver. Instead depend on systemd workaround suggested by Caleb to get expected HMIBSC reset behaviour. - Incorporated further DT coding style comments from Stephen. - Warnings reported by Rob's DT check bot aren't related to HMIBSC board DTS but rather they are due to msm8916.dtsi or extcon-usb-gpio.txt still not converted to YAML format. Changes in v3: - Picked up tags. - Fixed further DT schema warnings. - Configure resin/power button interrupt as falling edge. - Incorporate DTS coding style comments from Krzysztof and Konrad. Changes in v2: - Fix DT schema warnings. - Incorporate suggestions from Stephan. - Document UART1 mode GPIOs based mux. [1] https://www.se.com/us/en/product/HMIBSCEA53D1L0T/iiot-edge-box-core-harmony-ipc-emmc-dc-linux-tpm/ [2] https://patchwork.ozlabs.org/project/uboot/patch/20240311111027.44577-6-sumit.garg@linaro.org/ Sumit Garg (3): dt-bindings: vendor-prefixes: Add Schneider Electric dt-bindings: arm: qcom: Add Schneider Electric HMIBSC board arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS .../devicetree/bindings/arm/qcom.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/apq8016-schneider-hmibsc.dts | 491 ++++++++++++++++++ 4 files changed, 495 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/apq8016-schneider-hmibsc.dts